![]() |
|
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 <div id="image"> <a>" title="<?php echo getImageTitle();?>"> <?php printDefaultSizedImage(getImageTitle());?></a> <?php printRating();?> </div> album.php code <div class="imagethumb"> <a>" class="highslide" onclick="return hs.expand(this)" title="<?=getImageTitle();?>"> <?php printImageThumb(getImageTitle());?></a> <?php printRating();?> <p><? echo $i; ?></p> <div class="highslide-caption"> <?=getImageTitle();?> <a>" class="lightbox_quote_button">Request Quote</a></div> </div> </div> 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: ` <?php printRating();?> ` I was trying to output the rating info using the <div id="image> tag. I'll now have to work on displaying the rating info smaller as it overwhelms the images and other info on the album page. |