ZenphotoCMS Forum
Libratus – changing home page - 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: Libratus – changing home page (/thread-12398.html)



Libratus – changing home page - Michel Gagnon - 2015-12-31

Hello,

I like very much the Libratus theme, except for one thing: I would like to remove the slide show on the home page and replace it with a static page, like the Albums page or eventually a News page. Any quick tips on how to do that?

Thanks.




Libratus – changing home page - fretzl - 2015-12-31

You could try this.

In the theme's index.php change this part:
`




Libratus – changing home page - Michel Gagnon - 2016-01-01

Thank you, that's exactly what I needed. I will probably reuse the photo rotation code within some folders, but not on the main page. Apart from personal preferences, there is a bug that allows the script to display photos from published but password-protected albums too, even for unlogged users.




Libratus – changing home page - acrylian - 2016-01-01

You should file that bug either on the theme's repository. Or if it happens generally with the image_album_stats plugin on the Zenphoto repository itself. I have a far memory that we had fixed sometime that image stats showed images it shoudn't.




Libratus – changing home page - Michel Gagnon - 2016-01-01

I have reported the bug.

Thanks.




Libratus – changing home page - icculus479 - 2016-01-05

That fix does stop the slideshow however it doesn't really display a proper picture...instead only a couple inches of a random picture again. Have you guys figured out how to keep the original feel to the webpage, but just keep it one static picture of your choosing?

TIA!




Libratus – changing home page - fretzl - 2016-01-05

I guess the easiest would be to create an album with only one image.
Then in the theme options select that album as [i]Home Slideshow from Album[/i].




Libratus – changing home page - icculus479 - 2016-01-05

Good call, thanks!