Member
Member
vincent3569   2010-11-26, 20:13
#1

is there a bug with the print-album-menu plugin and Zenpage theme?

if "News on index page" is checked, there is the following display
Galerie
[b]- gallery index[/b]

  • album1
  • album2

if "News on index page" is unchecked, and if a homepage is choosen or not in the admin, the display is OK :
Galerie

  • album1
  • album2
Administrator
Administrator
acrylian   2010-11-27, 11:02
#2

No bug, jist coded that way if you look at the sidebar.php file:
if(!getOption("zenpage_zp_index_news") OR !getOption("zenpage_homepage")) { $allalbums = ""; } else { $allalbums = gettext("Gallery index"); } printAlbumMenu("list",NULL,"","menu-active","submenu","menu-active",$allalbums,false,false);

Member
Member
vincent3569   2010-11-27, 20:59
#3

ok, it's not a bug printalbummenu.
but I do not understand the interest of this code of sidebar.php.

if "News on index page" is selected, the "gallery index" link appears.
but this link goes to the index of the site: the news page.
so, it has nothing to do with the photo gallery ...

Administrator
Administrator
acrylian   2010-11-28, 10:36
#4

I guess you are right and I admit don't remember what the reason for this actually was... . Probably forgotten stuff from way back then that no one ever noticed....

Member
Member
vincent3569   2010-11-28, 22:21
#5

ok
do you want update the theme ?
to you need a ticket for that or not ?

Administrator
Administrator
acrylian   2010-11-29, 10:04
#6

I have already change so that the index link is not shown if in "news on index" mode for now. No ticket necessary this time.

Problematic is that not every theme needs to be setup like the Zenpage theme is. So not all will have a separate "gallery" page you can link to alternatively if in "news on index" mode. I actually would suggest to use the menu manager alternatively to create a custom menu with that gallery link.

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