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
Comments
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.
Now I am trying to style my menu.
Thanks a lot
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.
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.
I'll make use of the "get involved" page.
To come back to the codeblock problem: I want to use the code `<?php include('bibliographie.php'); ?` in a ZenPage page. I guess that I have to put this string in Codeblock 1 and I thought that I have to put`print(codeblock()` somewhere in the content part of the page in the CMS. Or am I wrong ? For sure I have to wrap this code between tags. As I said I tried several ways, but to no avail.
Re codeblocks: Yes you have to put the php within `<?php ... ?>` within a code block, you can also mix html and php.
If you use codeblock 1 you have to place `printCodeblock(1)` on your theme where you want to appear it. But that is told on the documentation.