I know this is probably really easy but i think the developer left this plugin to die.
I just want to add the users icon next to their name in elgg notify. On the topbar and also on the "see all notifications".
Ive been trying to add things to this file (mod/notifications/all.php but none are working. Ive added getIcon ($size= 'medium'), nothing seems to be working
<?php
/**
* Elgg notifications plugin index
*
* @package ElggNotifications
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
* @author Curverider Ltd
* @copyright Curverider Ltd 2008-2010
* @link http://elgg.com/
*/
// Load Elgg framework
require_once(dirname(dirname(dirname(__FILE__))) . '/engine/start.php');
// Ensure only logged-in users can see this page
gatekeeper();
// Set the context to settings
set_context('settings');
//
$body = list_entities_from_metadata('to_id',$_SESSION['user']->getGUID(), 'object','notification',0,20);
// Insert it into the correct canvas layout
$body = elgg_view_layout('two_column_left_sidebar','',$body);
// Draw the page
page_draw(elgg_echo('notifications:subscriptions:changesettings'),$body);
?>
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.
delete.php for notification ??????????
- Previous
- 1
- 2
- Next
You must log in to post replies.