I just plugin the Elgg's facebook theme. It works nice but I need to know how to
add elements to the sidebar like ads for example in this fbk theme -
I know where to go > views/default/page/elements ... 'sidebar parameter is the file I need to change things but I need help php programing is weak -
the file looks like this:
<?php
/**
* Elgg sidebar contents
*
* @uses $vars['sidebar'] Optional content that is displayed at the bottom of sidebar
*/
echo elgg_view('page/elements/owner_block', $vars);
echo elgg_view_menu('page', array('sort_by' => 'priority'));
// optional 'sidebar' parameter
if (isset($vars['sidebar'])) {
echo $vars['sidebar'];
}
// @todo deprecated so remove in Elgg 2.0
// optional second parameter of elgg_view_layout
if (isset($vars['area2'])) {
echo $vars['area2'];
}
// @todo deprecated so remove in Elgg 2.0
// optional third parameter of elgg_view_layout
if (isset($vars['area3'])) {
echo $vars['area3'];
}
echo elgg_view_menu('extras', array(
'sort_by' => 'priority',
));
The example of the the site @ https://moneymedley.com/facebook1/facebook/
Thank You.
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.
- Antonio Arebalo@haciendomagia
Antonio Arebalo - 0 likes
- mpmgc@mpmgc
mpmgc - 0 likes
You must log in to post replies.Eso está comentado en las discuciones del plug ins...
(This is commented on in discussions of the plug ins ...)
http://community.elgg.org/pg/plugins/release/789263/developer/ewinslow/facebook-theme-for-elgg-18
Es una solución, pero no es la correcta...
(Is a solution, but it is not correct ...)
Thank You very much
Antonio Arebalo. :-)