![]() |
|
Guide for adding rating to Highslide theme - 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: Guide for adding rating to Highslide theme (/thread-6662.html) |
Guide for adding rating to Highslide theme - oldsportbiker - 2010-02-26 Thought I'd share what I've learned in the past few days in trying to add rating to the highslide theme. In addition to enabling the rating option using the ZenPhoto admin function, I Changes to album.php for the highslide theme (added call to printRating())
Change to rating.php (added $_zp_current_image to global list)function printRating($vote=3, $object=NULL, $text=true) { global $_zp_gallery_page, $_rating_css_loaded,$_zp_current_image;
Miscellaneous formatting and size changes made to : jquery.rating.css,alt_star.png,clear.png to reduce the size of the rating stars |