sorry my question wasn't explicit enough. Some explanation what i'm doing with zenphoto:
I use zenphoto for an internal picture database of product pictures. Every album has only 4 pics (front / back / high res / thumb). Because of that i don't need to "zoom in" to image.php and that's why i want to hide the last dimension of the navigation.
For example men (no pics) -> accesoires (no pics) -> belts (no pics) -> belt1 (four pics)
Now i want to hide belt1 from the navigation but if you click on belts, the belt1 album must still be in the listing of album.php. So disabling the album would be no solution.
The album menu is context sensitive so that the belt1 album is only shown in the menu list if you are in belts or belt1. So do I get it correctly that you never want to show the subalbums of belts? In that case you will have to hack the plugin's printAlbumMenuList() function and remove/comment out the 3rd and 4th sub level loop. It's commented quite well so you will see theme easily. But beware that is quite complicated nested because of the html list nesting (somewhere in the future this will probably be reworked to be recursive....).
Comments
sorry my question wasn't explicit enough. Some explanation what i'm doing with zenphoto:
I use zenphoto for an internal picture database of product pictures. Every album has only 4 pics (front / back / high res / thumb). Because of that i don't need to "zoom in" to image.php and that's why i want to hide the last dimension of the navigation.
For example men (no pics) -> accesoires (no pics) -> belts (no pics) -> belt1 (four pics)
Now i want to hide belt1 from the navigation but if you click on belts, the belt1 album must still be in the listing of album.php. So disabling the album would be no solution.
regards Volkan
So do I get it correctly that you never want to show the subalbums of belts? In that case you will have to hack the plugin's printAlbumMenuList() function and remove/comment out the 3rd and 4th sub level loop. It's commented quite well so you will see theme easily. But beware that is quite complicated nested because of the html list nesting (somewhere in the future this will probably be reworked to be recursive....).
Men -> pants -> pant1
I tried to modify the loop(s) to set a condition:
`if (getNumImages( )!=0)ECHO getNumImages( ); #skip output`
get's no results... Maybe because it's too late... If you have any ideas...