![]() |
|
Confused - Zen Page themeoptions.php? - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html) +--- Thread: Confused - Zen Page themeoptions.php? (/thread-12072.html) |
Confused - Zen Page themeoptions.php? - melbe - 17-11-2014 Hello, Now my question probably seems simple - but I searched the forum and User Guide and I'm a still confused and m tired of regenerating the whole cache to figure it out My Questions: If I duplicate the zenpage theme to make a custom one - do I have to rename 'zenpage' for (some) themeoptions (as found in some forum entries) or not (as stated here: http://www.zenphoto.org/news/theming-tutorial#part-4-theming-zenpage -> [i]4.Open the theme's themeoptions.php file and change option definitions ...Only change those with the theme name in it (For the Zenpage theme don't change any as they are connected with the Zenpage plugin and not the theme!))[/i] What I did and what happens:
etc... at some point the image and thumb size changed - but I'm not sure what did trigger it - so I would really appreciate a clarification if: a) on duplicating the zenpage theme [b] all admin options that are not greyed out anymore are still ignored (?)[/b] b) [b] Does themeoptions.php has to be modified? If yes - where exactly?[/b]
Confused - Zen Page themeoptions.php? - acrylian - 17-11-2014 Options like What you renamed is actually correct. You should also rename those prefixed with If unsure look at the differences between the theme options of the Zenpage and Garland theme. Those are quite the same otherwise. I will review the tutorial, probably could use some improvements. Confused - Zen Page themeoptions.php? - melbe - 18-11-2014 Thank you very much for your quick response acrylian! But I found a forum thread where you stated that some options should be renamed. Taking a look a Garland theme helped a lot and now everything works fine! I renamed everything containing "zenpage" except for the one occurrence in the
edit Thank you very much! Confused - Zen Page themeoptions.php? - acrylian - 18-11-2014 Might be that the tutorial is outdated in some parts and we missed that. We will put that on the list. Some options are disabled because the Zenpage theme uses hardcoded values for the image/thumb sizes for layout reasons. If you enable you can set them but they are not used. Unless you further modify the theme naturally. |