![]() |
|
make current album unclickable in menu? - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Themes (https://forum.zenphoto.org/forum-5.html) +--- Thread: make current album unclickable in menu? (/thread-6976.html) |
make current album unclickable in menu? - rmcfarland - 2010-04-29 Let me start out by saying I am a PHP beginner I am using this code to print a very simple menu of all the toplevel albums in album.php (i am not using any subalbums in this particular project) : ` ` thanks for any help you can give! make current album unclickable in menu? - acrylian - 2010-04-29 You can use the print_album_menu but on several user's request this keeps even selected items as clickable links (for easier usage in dropdown menus for example) Btw, you do this easier without setting contextes using the object model: } else { } make current album unclickable in menu? - rmcfarland - 2010-04-29 thanks so much! here is my code: ` ` make current album unclickable in menu? - kagutsuchi - 2010-04-29 The Functions Documentation in the User Guide is very useful for stuff like this. :) http://www.zenphoto.org/documentation/classes/Album.html#methodgetAlbumLink |