Member
Member
oldsportbiker   2010-02-22, 06:44
#1

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.

Administrator
Administrator
acrylian   2010-02-22, 10:01
#2

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.

Member
Member
oldsportbiker   2010-02-22, 18:09
#3

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

" title="">

album.php code

" class="highslide" onclick="return hs.expand(this)" title="">








             " class="lightbox_quote_button">Request Quote
Administrator
Administrator
acrylian   2010-02-22, 18:22
#4

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.

Member
Member
oldsportbiker   2010-02-22, 18:29
#5

sorry about not including backtics. I just made some progress by enclosing the printRating() call as follows:

`

`
I was trying to output the rating info using the

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