ZenphotoCMS Forum
zpArdoise: Add help button in main-menu - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: zpArdoise: Add help button in main-menu (/thread-11249.html)



zpArdoise: Add help button in main-menu - twoflower - 05-08-2013

Hi,

I want to add a "Help me", button on the div "main-menu" of my ZP home page and then this will fire some js accordion with help to users of my ZP on how to create albums and upload etc.

Should this be a plugin or what are the options? I do not really want tochange code everytime with a newer ZP version.

I think this will be quite a nice general feature to add more buttons that can fire some custom stuff.

What do you think and what would be to most elegant way to do this?




zpArdoise: Add help button in main-menu - acrylian - 05-08-2013

What div "main-menu" are you referring to where? If you mean on your theme do whatever you like. On custom themes you always have to maintain yourself anyway.




zpArdoise: Add help button in main-menu - twoflower - 06-08-2013

Aah, this is part of the theme. I'm using zpArdoise. I'll ask this to the dev of this theme then.




zpArdoise: Add help button in main-menu - acrylian - 06-08-2013

That is why you always should mention the theme used… I have changed the topic title so it is clear.




zpArdoise: Add help button in main-menu - vincent3569 - 08-08-2013

hi

as told by mail to twoflower, to add a new menu item (like "help" page), you can add a new page (of course, with zenpage plugin enabled).
then you can add some text in the page and some php or js code in codeblock.
that is what I did with my portfolio page, that uses masonry js code.