ZenphotoCMS Forum
zpFocus. Disable subalbums in dropdown 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: zpFocus. Disable subalbums in dropdown menu (/thread-9479.html)



zpFocus. Disable subalbums in dropdown menu - reneesanguinetti - 12-01-2012

Zenphoto version 1.4.1.6 [8326] (Official Build)
Current gallery theme: zpFocus_v1.4.1.4
Hello,
My theme uses the printalbummenu function and displays a dropdown menu including subalbums. I only have subalbums associated with one parent album. I would like to know how to disable the subalbums in the menu without setting them to unpublished. I have read through the forum, but I'm not sure what code to change. Any help would be appreciated. Thank-you!




zpFocus. Disable subalbums in dropdown menu - gjr - 12-01-2012

review the parameters of that function:

http://www.zenphoto.org/documentation/plugins/_zp-extensions---print_album_menu.php.html

Change the "list" to "list-top"




zpFocus. Disable subalbums in dropdown menu - reneesanguinetti - 12-01-2012

Hello, thank-you for the quick response. I did understand to change list to list-top, but I don't know what section of the print_album_menu.php to change to make it work for this theme. Thank-you! Renee




zpFocus. Disable subalbums in dropdown menu - gjr - 12-01-2012

The call to that function in zpFocus is in the inc-header.php file. Change the parameter there, you should never modify core files (print_album_menu.php).