How to use menu_manager ?

Hi,

Great documentation thanks!! - http://www.zenphoto.org/documentation/plugins/_zp-extensions---menu_manager.php.html#sec-description

My problems is how do I actually use this? I do not know this framework etc. Can you just give me an example to use this plugin, please?

Use case: I just want to add one menu button, that when you click it you go to some html(+js) that contains usage help for users that I created myself.

Comments

  • acrylian Administrator, Developer
    As with most plugins you need to modify the theme used and place the printMenu() function where you wish it to appear. The Zenpage theme has a demo usage in the sidebar if the plugin is enabled.

    For just one menu button that is really overload and you are better of adding that one statically on the theme.
  • Thanks acrylian.

    I know of themes, I use zpArdoise, but that is about it :-), BUT I'd like to learn more and add this button. I guess it will be mainly the same change to any theme, so it's not theme spesific but generic change applied on a theme. Where do I start? What file? Where is the files? How does the files interact? What language? Examples will help.

    Sorry but I'm clueless yet.
  • acrylian Administrator, Developer
    Exactly, it is with most plugin functions the same way. Since themes can be quite different it is not possible to just enable a plugin to let its function show up.

    Since ZP theme are generally flexible and have not really fixed places (like the WP sidebar where you can add widgets) for things to appear themes must have built in support (some like the official ones do for some things.

    You really should have read the theming tutorial by now. Note that third party themes like zpArdoise and gjr's themes are quite advanced and do some special custom stuff.
Sign In or Register to comment.