Gallery index page link - grayed out

So I've done over 5 custom ZenPhoto sites with custom themes and ZenPage with all of them...no problems.

I'd consider myself an expert at integration/customization but I'm experiencing a weird issue. Perhaps I'm missing something stupid this time out - idk.

I typically change the name of gallery.php to multimedia.php because I like multimedia better. The "Gallery index page link" area under Options/Theme allows me to select the page I'd like to use...I find & select multimedia.php (or whatever else I'd like to call it) in the dropdown menu and I'm good to go.

This time, (ZP version 1.4.1.2) this option is grayed out and not available...It looks like "Effervescence" is the only one where it's not grayed out...I typically use Default as my base for skinning my own designs and incorporate ZenPage. This time I used Zenpage as the base. As mentioned "Effervescence" is the only one where it's available.

What am I missing?
Thanks,
Mike

Comments

  • acrylian Administrator, Developer
    The Zenpage theme does simply not have support for a custom gallery index page. It either supports the gallery.php page (see the index.php file - you can of course rename it) or a Zenpage page. Additionally it supports news on the gallery.php page.
  • But I've done it in the past. In fact, I did change the index.php page script from gallery.php to multimedia.php with no luck...it still calls gallery.php

    I'm using an unpublished pages page as my home page as well. This is driving me crazy cause I know I've done it in the past...lol
  • acrylian Administrator, Developer
    The Zenpage theme's index.php has the "gallery.php" call hardcoded. You need to change it as well if you rename the gallery.php page. This theme does NOT support custom index pages, only Zenpage pages as index.

    The links above are direct calls to custom pages which should always work and not really usages as the index (=home) page. You can of course add that option to the Zenpage theme. Look at the eff+ theme options.

    (don't confuse Zenpage and the Zenpage theme, just to be sure..:-))
  • The current release has added a feature to indicate when a theme DOES NOT support a "standard" option. Prior to this you could set the option to your heart's content but it would never make a difference. Now the option is grayed out (as you note) to indicate that the theme does not honor it.

    As you note, EF+ is the only distributed theme with support for an arbitrary custom index page. All this is controlled by the `getOptionsDisabled()` method of the theme's ThemeOptions class. Change that function if you wish to enable the custom page.
  • Well I was able to hardcode "multimedia" to achieve what I wanted but I didn't want to have to "hack" anything...I'll figure something out.

    Thanks for the help guys!
    Mike
Sign In or Register to comment.