coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: bertot on January 27, 2006, 09:44:00 AM

Title: disable sorting on thumbnails ?
Post by: bertot on January 27, 2006, 09:44:00 AM
I have just finished to integrate my coppermine 1.4.3 into Joomla and I have enable the seo plugin.
If you want to see it : http://www.ub-mongolia.mn (http://www.ub-mongolia.mn)

Now I am trying to get rid of the sorting stuff on the thumbnails page. (if you want a better ranking ... it is recommanded ... Search engines doesn't like many pages with the same content and the sorting stuff creates such kind of pages)

Anyway how can I get rid of the sorting ? I thought that it should be on my theme.php but I am nor finding where ?

Thanks for your help
Title: Re: disable sorting on thumbnails ?
Post by: Nibbler on January 27, 2006, 01:09:58 PM
Add this code into your theme's theme.php


$template_thumb_view_title_row = <<<EOT

                        <table width="100%" cellpadding="0" cellspacing="0">
                        <tr>
                                <td width="100%" class="statlink"><h2>{ALBUM_NAME}</h2></td>
                                <td><img src="images/spacer.gif" width="1" alt="" /></td>
                        </tr>
                        </table>

EOT;
Title: Re: disable sorting on thumbnails ?
Post by: Joachim Müller on January 27, 2006, 05:15:56 PM
@bertor: I wasn't able to spot the "Powered by Coppermine" tag at the bottom of gallery pages that is mandatory to keep (see http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm#editCopyrights). Give credit where credit is due - put it back please.
Title: Re: disable sorting on thumbnails ?
Post by: bertot on January 28, 2006, 11:11:25 AM
ASAP
Title: Re: disable sorting on thumbnails ?
Post by: Joachim Müller on January 28, 2006, 11:38:40 AM
OK, thanks for putting it back. As far as I can see Nibbler's suggestion worked for you, so I'm tagging this thread as "solved" then.