You can't use this notation
$plugin->interpretacion_fecha
to get user settings, that will fetch plugin settings (global, site wide setting for the plugin).
To get a user plugin setting you should use
elgg_get_plugin_user_setting();
http://reference.elgg.org/engine_2lib_2plugins_8php.html#a170cd3240d9b5193ac8f38d908d8a64c
Thanks Matt, it works
i'm using
$plugin->getUserSetting("interpretacion_fecha", elgg_get_page_owner_guid()
that works too :)
1. Override sidebar.php in plugins (e.g. mod\blog\views\default\blog\sidebar.php | mod\bookmarks\views\default\bookmarks\sidebar.php | mod\file\views\default\file\sidebar.php | mod\pages\views\default\pages\sidebar.php etc) with removing:
echo elgg_view('page/elements/comments_block', array(
'subtypes' => 'blog',
'container_guid' => elgg_get_page_owner_guid(),
));
2. Or create your own empty views\default\page\elements\comments_block.php
thanks, it works!
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.