forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: sixleggedinsect on December 20, 2004, 10:40:17 pm
-
howdy. this must be easy, but i coudlnt find a post that gave instructions..
i want the button that users click to see the top rated photos to read "the best pictures" instead of "top rated". where is the file that generates that text?
i am also curious about which file generates the top rated album. i would like to edit it so that the ratings do not display under the photos. finally, to change the order in which the favorites/top rated/ album list/etc buttons display, can i just copy and paste within the theme.php file?
thanks from a complete php newbie.
anthony
-
update- with a lot of messing around, ive miraculously managed to change the text, and to change the button order. the only thing i can figure out now is where the code is that adds the rating below the thumbnails in the toprated album. any ideas?
thanks
anthony
-
What is it you want to do?
If its just mess with the rating graphics, they are in your theme\images directory.
-
if you click on the 'top rated' link in my cpg setup, you get a thumbnail view of the highest rated pictures. underneath each picture is its respective rating.
i woudl like to get rid of that rating display, and leave just the picture thumbnails. there must be a bit of code i can just delete, no? which file would this be in? any hints?
thanks,
anthony
-
edit include/functions.inc.php, find
$caption .= sprintf($lang_get_pic_data['n_views'], $rowset[$key]['hits']);
and replace with // $caption .= sprintf($lang_get_pic_data['n_views'], $rowset[$key]['hits']);
(not tested though).
Joachim