Menuitem for 1.8

Warning: This plugin has't been updated in over 7 years. It may no longer be maintained.

What you can do to help:

Manage menu items on your Elgg site.

Last updated
Phloor Menuitem Object View [3]Phloor Menuitem In Action [2]Phloor Menuitem Drag&Drop [1]Phloor Menuitem - Plugin Settings [4]
Recommended Releases
Elgg Release Download Date Links
1.81.8.3-12.02.29b (426.46 kB)2012-Feb-29
Show all releases

!!! This plugin requires the phloorFramework - please make sure you got the LATEST release !!!

Some facts:

  • You are able to ceate menu items for specific menues (site, topbar, footer, ...)
  • Creating menu items is limited to administrator
  • Hooking into the menu is enabled as soon as the first menuitem has been created
  • In the plugin settings (admin interface) one can define whether the 'more' section of the sitemenu is shown - you are able to hide the "more" menu! this can be done for "guest" or for all "logged in users" (including the admin). 
  • Contains CSS rules for a rudimentary 2-level-site menu (see screenshots)
  • Tested with following menues: 'site', 'footer', 'topbar', 'page', 'extras', 'phloor-sidemenu, 'owner_block', 'user_hover'
  • Reordering can be done via drag&drop (or if JS is disabled via the "priority" attribute)
  • if an "parent menu item" is deleted its child menu items will rise one level in the hierarchy tree
  • NEW! context dependend menuitem items (e.g. only view in context "profile", etc.)
  • NEW! access levels for menu items (guests only, public, logged in, friends, private)

 

 

the plugin hook for arranging the menu like in the default installation is disabled _as soon as an element as been created_. the plugin moves the default "Menu items" into the "More" section and inserts the ones you have created. You can create entries of "News", "Members" , "Blogs".. and even recreate the "More" menu by yourself -> that means you should give this plugin total control of the menu.

Reording can be done via drag&drop or manually via the 'priority' attribute from 1 (high priority) to 999 (low priority). take a look at the screenshots.

At the moment it is limited to 2-level hierarchies. That means no "sub-sub-menues". But more accurate: the displaying is limited to 2-level hierarchies.. "creating" the hierarchy-tree is already possible and you are encouraged to do so.. because the code and style sheets for n-level menu will come in the near future.

Special Patterns. There are special patterns that get replaced when you use them in the title, the 'href' orthe tooltip.. Take a look at the screenshots. the standard ones are:

  • %wwwroot%: gets replaced with the sites urls
  • %username%: the username of the current logged in user

(please keep in mind, that for example the '%username%' pattern can only be applied, if theread access for this menu item is set to 'ACCESS_LOGGEDIN' a.k.a 'logged in only')

 

 

Please report any bugs or strange behaviour.

Languages:

  • English
  • German
  • French (thanks to @Jean-Baptiste Duclos)

Overwrites:

  • nagivation/menu/site.php

This plugin uses icons from the amazing famfamfam silk icon set. Please visit: http://www.famfamfam.com/lab/icons/silk/Thank you Mr Mark James for this great work.

Todo

  • use Elggs javascript class ElggPriorityList
  • persist settings in in config array

Please report any errors. Suggestions are very welcome. If you like the plugin please consider a recommendation. Thank you!

Stats

  • Category: Site admin
  • License: GNU General Public License (GPL) version 2
  • Updated: 2014-11-17
  • Downloads: 2957
  • Recommendations: 12

Other Projects

View 13net's plugins