Member
Member
tunafish   2012-01-08, 23:07
#1

When I use the "omit-top" parameter from the printAlbumMenu() function it renders the list on the album pages but not on any other pages..

I just tested it with the Garland theme, in sidebar.php, line 94 changed
printAlbumMenu("list","count","album_menu","menu","menu_sub","menu_sub_active", $gallery);
to
printAlbumMenu("omit-top","count","album_menu","menu","menu_sub","menu_sub_active", $gallery);
and for example on the news page the list will not render.

Any quick fix for that?

Administrator
Administrator
acrylian   2012-01-09, 10:48
#2

Don't use "omit-top" as that as the name says, omits the toplevel. It is context sensitive so if you are on the news page nothing is shown as intendend. This option is intended to be use if you are already within sublevels. For example if you use a separate horizontal menu for the top levels or else and want only to show the sublevels of the currently selected album.

Member
Member
tunafish   2012-01-13, 14:31
#3

OK, I sloved it like this:

`

Administrator
Administrator
acrylian   2012-01-13, 15:58
#4

Yep, I would have done it the same way.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.