ZenphotoCMS Forum
Disablle slideshow for video album - 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: Disablle slideshow for video album (/thread-5193.html)



Disablle slideshow for video album - Bohdan - 2009-05-16

Is it possible to disable the "view slideshow" option for a video album?




Disablle slideshow for video album - acrylian - 2009-05-16

Technically an album is an album. You could use the custom field that each album has and create an if/else statement on your theme page to disable the slideshow for specific albums.




Disablle slideshow for video album - Bohdan - 2009-05-16

I am not very familiar with php. Could you provide me with details? Thank you.




Disablle slideshow for video album - acrylian - 2009-05-16

  1. Enter for example "videoalbum" into the custom field of the album you want to disable the slideshow.
  2. Change your theme's album.php and image.php and put an if around the slideshowlink function like this
    ``



Disablle slideshow for video album - Bohdan - 2009-05-16

I get an unexpected parse error "




Disablle slideshow for video album - acrylian - 2009-05-16

Of course you need to replace `` with the correct function found in your theme...




Disablle slideshow for video album - Bohdan - 2009-05-17

Sounds simple, but you assume that I know something about PHP. I am using the effervescence_plus theme in Zenphoto 1.2.4




Disablle slideshow for video album - acrylian - 2009-05-17

If you haven't please read our theming tutorial before trying to modify a theme. In case you want to do further theme customizing you will also need at least to learn some php basics. I will surely understand that we really don't have the time to teach these basics here. There are better places.