ZenphotoCMS Forum
Disable Random Image in Effervescence+ - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Disable Random Image in Effervescence+ (/thread-11780.html)



Disable Random Image in Effervescence+ - zdt451 - 2014-05-08

I know this has been asked before but I didn't understand the answer.

Is it possible to disable the random image in Effervescence+ and if so, how?

My programming skills are poor - can work it out given enough time and typewriters :-)

thanks.




Disable Random Image in Effervescence+ - acrylian - 2014-05-08

Sorry, the answer is still the same, you have to edit the theme.




Disable Random Image in Effervescence+ - zdt451 - 2014-05-08

And the bit I don't understand is.....,

"First, you are not using the latest release which is 1.4 and second, this is not really the efferescence+ theme. Anyway, review you theme modification code."

Which function I'm supposed to be editing would be a good starter!




Disable Random Image in Effervescence+ - acrylian - 2014-05-08

The bit you cite is of course aimed at the old post form years(?) ago… I don't know anything about your install naturally.

The function is name, well, randomImage… But you don't edit "functions", you edit your theme files. Sorry, there is no simpler answer. To learn the basics about Zenphoto theming read:
http://www.zenphoto.org/news/theming-tutorial

The Efferscence theme is a bit more complicated than described in the tutorial but it would be the indexpage.php file of the theme. See the "daily image" options at the beginning.




Disable Random Image in Effervescence+ - zdt451 - 2014-05-08

Many thanks, that helps.




Disable Random Image in Effervescence+ - zdt451 - 2014-05-09

Sorted. Thanks again.




Disable Random Image in Effervescence+ - acrylian - 2014-05-09

Great!