printalbummenu

Hi there,

I am using the jump option of print album menu with the following code:

`
<?php if(!getOption("zenpage_zp_index_news") OR !getOption("zenpage_homepage")) {$allalbums = "";} else {$allalbums = gettext("Gallery index");}
printAlbumMenu("jump",NULL,"","menu-active","submenu","menu-active",$allalbums,true,true); ?>
<?php } ?>
`
I do not use an "index" page on my website, so there is no need to show Gallery Index in the dropdown menu, and this takes care of it. However, when my subalbums are linked in the drop down menu it takes me to image.php of that subalbum, not album.php of the subalbum.

Don't really know what I should be changing in the php...

Can anyone help?

Example is here, http://www.pennystewartdesigns.com/merrepen/gallery/paintings - drop down menu on the right under "gallery navigation".

Of course, if I insert the code `<?php if (function_exists('printAlbumMenu')) { printAlbumMenu('jump'); } ?>` the menu displays correctly, but the "Gallery Index" title remains - I want this title not to be in the drop down list.

Penny

Comments

Sign In or Register to comment.