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

vincent3569 Member, Translator
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
- gallery index
- 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

Comments

  • acrylian Administrator, Developer
    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);
    `
  • vincent3569 Member, Translator
    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 ...
  • acrylian Administrator, Developer
    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....
  • vincent3569 Member, Translator
    ok
    do you want update the theme ?
    to you need a ticket for that or not ?
  • acrylian Administrator, Developer
    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.
Sign In or Register to comment.