ZenphotoCMS Forum
Garland - Left menu list - 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: Garland - Left menu list (/thread-1785.html)



Garland - Left menu list - chrisandnat - 09-11-2007

Is there a way to compress the left menu included with the Garland theme?
The menu is extracted and really long due to my subfolders.

Site = http://www.chrisandnat.com/

Thanks in adavnce.




Garland - Left menu list - acrylian - 09-11-2007

Currently not, it simply not implemented. I plan to rewrite it (the theme is by aitf311)), so that only the subalbums of the current selected main album are shown and of course more than the first subalbum level. But please be patient...

But you could switch to a drop down jump menu, but you have to edit it on the theme pages. Here are the possible options:

$option1 =
"list" for the menu as a list like in wordpress
"jump" for a space saving jump menu
This option must be set.

$option2 =
"count" shows the number of images in the album in brackets behind the album name
"" = for no image numbers

Example: If you want a list without counter write this:

The CSS parameters are optional if you want specific CSS to style. If not leave blank.
$id = Insert here the ID for the main album menu like this: "mainmenu".
$active1 = Insert the ID for the currently active album link
$class = Insert here the CLASS for the sub album sub menu if you want to style it differently than the main menu
$active2 = Insert the ID for the currently active subalbum link.
Of course these parameters are useless with the jump menu option.

Another possibility is to delete the subalbum loop of the function. This part:
`

//*  open sublist for subalbums */

    // check if any subalbums are available. If then open sublist for subalums

    for ($nr2 = 1;$nr2 



Garland - Left menu list - chrisandnat - 10-11-2007

Thanks for the quick reply, worked great - http://www.chrisandnat.com