coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: rosyxox on September 05, 2008, 01:20:55 AM

Title: Sort order cell
Post by: rosyxox on September 05, 2008, 01:20:55 AM
Anyone can help me with this?

How can I delete the sort order cell that says "Title + - File name + - ..." that appears when I view an album?

Thanks!
Title: Re: Sort order cell
Post by: Gizmo on September 05, 2008, 02:10:59 AM
Yea, I don't those on my album pages eithers.

Here is an edited version of the $template_thumb_view_title_row parameter. Just paste this into your theme.php and if it's already there then overwrite it with this one.

// HTML template for title row of the thumbnail view (album title + sort options)
$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: Sort order cell
Post by: Joachim Müller on September 05, 2008, 10:10:41 AM
There is a load of similar threads to yours, e.g. http://forum.coppermine-gallery.net/index.php/topic,51142.0.html or http://forum.coppermine-gallery.net/index.php/topic,48218.0.html
In the future, please search before asking.