13net's plugins:
!!! This plugin requires the phloorFramework - please make sure you got the LATEST release !!!
This plugin enables a topbar that integrates well with the default theme but can also be adapted to your specific requirements very easily. Take a look at the screenshots or view a demo on http://phloor.13net.at
The admin can enable/disable following elements:
the plugin does not override any core files - so by default it will do exactly what the standard topbar would do: e.g. not showing up for non-logged-in users. you have to edit/override the core layout file for additional and different behaviour.
Instructions for an always visible topbar
If you are using Elggs default layout than you can edit the lines 46 and 52 in file ''views/default/page/default.php" like the following.. from:
<?php if (elgg_is_logged_in()): ?>
<div class="elgg-page-topbar">
<div class="elgg-inner">
<?php echo $topbar; ?>
</div>
</div>
<?php endif; ?>
to:
<?php /*if (elgg_is_logged_in()):*/ ?>
<div class="elgg-page-topbar">
<div class="elgg-inner">
<?php echo $topbar; ?>
</div>
</div>
<?php /*endif;*/ ?>
!! Best practice is to copy the file and put it into a seperate plugin !!
Please report any errors. Suggestions are very welcome. If you like the plugin please consider a recommendation. Thank you!
/** * @version 1.8-12.01.13 */- Initial release
Comments
@13net I am using custom_index and enabled the top bar plugin, but it is not displaying anything for not loggedin users. I can not see the top bar at all even after rebuild and clearing the cache.
Thanks for the mod
i did not override any core files - so by default it will do exactly what the standard topbar would do: not showing up for non-logged-in users. you have to edit/override the core layout file for this behaviour. pm me if you need help.
@fareed: that'd also happen with the standard topbar. thats an "issue" (not really a bug) of the dashboard plugin - it registers its menuitem even when the user is not logged in. please report it to http://trac.elgg.org/
you can help yourself by adding this code to the "phloor_topbar_pagesetup" function in the file "start.php":
Will phoorFramework conflict with hypeFramework and vise-versa?
@Burgs Has not been tested yet - but I dont see a reason for any conflict. Go for it.
@Burgs, I have both frameworks running just fine - make sure Hype's is below phloor's.
Awesome work, 13Net! Recommended
@Richard Hipkin... Just had a couple of days running both frameworks, just Alive plugin and Topbar plugin from each activated. I have hype above phloor in plugin order and all is runing fine, why do you comment that hype needs to be below phloor, does it involve other plugins from them?
@Burgs, just playing it safe :) I noticed that Ismayil usually finishes off his instructions with "make sure that the plugin is at the bottom....", or something along those lines whereas 13net doesn't ...lol... anyway, I thought it probably be better to follow the developers advice :) I have no problems and judging by your response neither do you! So all good ;)
@richard most of my plugins dont care about where you put them. If a specific order is required it is definitely mentioned in the readme.txt file or specified in the manifest.xml file. as long as the phloor framework is _over_ all phloor plugins it should be fine.
My God your plugins are excellent!
Is there a way to get the regular menu items to show for guests? Also my search box isn't showing for guests? I already used you edit for them to show in the topbar for guests and that works.This might not involve your plugin...
Jeff
It might be because I'm using the Darkzone theme.
why do you need your "framework" when you can just add a simple file to make the topbar visible?