My website should have the following navigation
Index
Page 1
Page 2
Album
...Photos Country 1
...Photos Country 2
...Photos Country 3
Page 3
Page 4
Contact
The Album is made is using ZenPage and works perfectly, but if I make Page 1, 2, 3, 4 with Zenpage (pages.php) I get the following navigation:
Index
Album
...Photos Country 1
...Photos Country 2
...Photos Country 3
..Page 1
..Page 2
..Page 3
..Page 4
Contact
How to avoid that Page 1,2,3,4 are placed into Album? Can the link be suppressed ? If yes, how, where ?
I know of course how to hardcode page 1,3,3,4 so that they appear above or under the album block
Thank you for answering.
I tried to use the menu manager plugin, but I get always the warning :
Fatal error: Call to undefined function printAlbumMenuList() in /homez.65/XXXX/www/albums/zp-core/zp-extensions/menu_manager.php(954) : eval()'d code on line 1
Sure I am doing something wrong.
As I said above I am using ZenPage.
The problem was that I could not find anywhere that I have to enable the print-album-menu plugin with the menu-manager plugin.
I am having now another problem for which I cannot find a very clear solution anywhere (turoial, forum...). I would like to use a codeblock in a zenpage in order to add some php coding. I read somewhere that I have use printCodeblock(), but where and how to put this line of code. I tried many variants but to no avail. I am sure it is very simple, but I am stuck.
I love ZenPhoto and I used it already a lot, but sometimes some basic information are missing.
Sorry, I somehow misread the part about the theme. I could not remember and it indeed uses that function for the automatic default menu set. You can however change that at anytime by modifying the menu set.
You have to add the printCodeblock function where you want to print it. You have also to choose which of the three codeblocks you want to use via a parameter (see documentation).
Sorry, if you feel that some info is missing. On some things you need to get into a little, that is often unavoidable. You can of course always contribute if you like. See our "get involved" page.
Please, acrylian, don't misunderstand me. I appreciate greatly the work done be the Zenphoto team to develop a marvellous product, make its use as understandble as possible, and to take care of a forum in an intelligent, efficient and polite way. The problem is that the user sometimes gets stuck in a wrong way of thinking (even he/she "gets into it a lot") and if a clear instruction is missing, he/she does not know how to continue.
I'll make use of the "get involved" page.
To come back to the codeblock problem: I want to use the code `
I did not missunderstand you. We can't just place exact details for everything but are willing to rework things if they are not understandable. Some things do require some knowledge of html, css and php beforehand, especially theme changes.
Re codeblocks: Yes you have to put the php within `within a code block, you can also mix html and php. If you use codeblock 1 you have to placeprintCodeblock(1)` on your theme where you want to appear it. But that is told on the documentation.