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

Title: change "top rated" text to "best pictures"
Post 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
Title: Re: change "top rated" text to "best pictures"
Post by: sixleggedinsect on December 21, 2004, 01:23:16 am
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
Title: Re: change "top rated" text to "best pictures"
Post by: donnoman on December 21, 2004, 01:48:44 am
What is it you want to do?

If its just mess with the rating graphics, they are in your theme\images directory.


Title: Re: change "top rated" text to "best pictures"
Post by: sixleggedinsect on December 29, 2004, 12:35:39 am
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
Title: Re: change "top rated" text to "best pictures"
Post by: Joachim Müller on December 29, 2004, 07:26:50 pm
edit include/functions.inc.php, find
Code: [Select]
            $caption .= sprintf($lang_get_pic_data['n_views'], $rowset[$key]['hits']);and replace with
Code: [Select]
            // $caption .= sprintf($lang_get_pic_data['n_views'], $rowset[$key]['hits']);(not tested though).

Joachim