Member
Member
Uhhh   31-05-2018, 17:43
#1

Hi all,

In Zenphoto 1.4.14 I had a custom index page.
I had a home.php that was actually the index.php, and a gallery.php as the gallery index page.

In my index.php I had the following code:
[code]

[/code]

In the theme option the gallery.php was the gallery index page link.
In Zenphoto 1.5 this option doesn't work anymore. Is this option changed?

TIA

Administrator
Administrator
acrylian   31-05-2018, 19:25
#2

You did not mention what theme you use. This is require info. None of the official themes use such code. The code you posted seems not to make sense to me because if (getOption('')) { checks for an option without an option so would be always false anyway.

It is still possible to call a custom gallery index page. There is also still a standard theme option which all included themes have it disabled though. The option is called custom_index_page and would contain the (static) page selected like gallery.php to act as the custom index via `getOptio

Member
Member
Uhhh   31-05-2018, 19:53
#3

Hi acrylian,

I use a custom theme, self made.

Administrator
Administrator
acrylian   31-05-2018, 19:55
#4

I think it is no the full code then with that empty option call.

Member
Member
Uhhh   05-06-2018, 15:11
#5

U are right. I checked the full code and it was not correct. I needed some adjustments in my custom theme, but it is working now.

TIA

Administrator
Administrator
acrylian   05-06-2018, 15:24
#6

Great, thanks for the follow up!

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