Member
Member
Bohdan   2009-05-16, 04:11
#1

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

Administrator
Administrator
acrylian   2009-05-16, 08:37
#2

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.

Member
Member
Bohdan   2009-05-16, 09:26
#3

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

Administrator
Administrator
acrylian   2009-05-16, 12:35
#4
  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
    ``
Member
Member
Bohdan   2009-05-16, 13:51
#5

I get an unexpected parse error "

Administrator
Administrator
acrylian   2009-05-16, 14:54
#6

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

Member
Member
Bohdan   2009-05-17, 01:19
#7

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

Administrator
Administrator
acrylian   2009-05-17, 08:17
#8

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.

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