![]() |
|
How to make rating plugin work with Highslide theme? - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Themes (https://forum.zenphoto.org/forum-5.html) +--- Thread: How to make rating plugin work with Highslide theme? (/thread-6640.html) |
How to make rating plugin work with Highslide theme? - oldsportbiker - 2010-02-22 In using the Highslide theme, I've set the admin option to turn on the Rating Function but I'm not clear as to which PHP file I need to put the printRating() call in to get the rating input from the user. I thought it might be the full-image.php file but after looking at it, I don't think so. How to make rating plugin work with Highslide theme? - acrylian - 2010-02-22 In short it's in general image.php. I am not familar with that theme so it might not use one. Then you have to put that funtion within the next_image loop on album.php. I recommend also to read the theming tutorial. How to make rating plugin work with Highslide theme? - oldsportbiker - 2010-02-22 Following your suggestion I modified image.php and album.php as follows but it doesn't work. I suspect that I've placed the calls to printRating() in the wrong place: image.php code
album.php code
How to make rating plugin work with Highslide theme? - acrylian - 2010-02-22 You have to escape code example using backticks. Otherwise it gets unreadable. Does that quite old theme use image.php at all? The rating plugin of course needs to be activated, too. How to make rating plugin work with Highslide theme? - oldsportbiker - 2010-02-22 sorry about not including backtics. I just made some progress by enclosing the printRating() call as follows: ` ` |