Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: How to remove title, filename and date shown on the album page ?  (Read 2687 times)

0 Members and 1 Guest are viewing this topic.

blackicx

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
How to remove title, filename and date shown on the album page ?
« on: September 20, 2005, 01:18:52 pm »

i want to remove the sort by title, filename and date links from the album page but i cant do that. how can i delete these frome page. can u help me pls  sorry for bad English
« Last Edit: September 20, 2005, 01:35:09 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: How to remove title, filename and date shown on the album page ?
« Reply #1 on: September 20, 2005, 01:23:53 pm »

That's in your theme's theme.php

Code: [Select]
// 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"></td>
                                <td class="sortorder_cell">
                                        <table height="100%" cellpadding="0" cellspacing="0">
                                        <tr>
                                <td class="sortorder_options">{TITLE}</td>
                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&page={PAGE}&sort=ta" title="{SORT_TA}">&nbsp;+&nbsp;</a></span></td>
                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&page={PAGE}&sort=td" title="{SORT_TD}">&nbsp;-&nbsp;</a></span></td>
                                        </tr>
                                        <tr>
                                                <td class="sortorder_options">{NAME}</td>
                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&page={PAGE}&sort=na" title="{SORT_NA}">&nbsp;+&nbsp;</a></span></td>
                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&page={PAGE}&sort=nd" title="{SORT_ND}">&nbsp;-&nbsp;</a></span></td>
                                        </tr>
                                        <tr>
                                                <td class="sortorder_options">{DATE}</td>
                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&page={PAGE}&sort=da" title="{SORT_DA}">&nbsp;+&nbsp;</a></span></td>
                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&page={PAGE}&sort=dd" title="{SORT_DD}">&nbsp;-&nbsp;</a></span></td>
                                        </tr>
                                        </table>
                                </td>
                        </tr>
                        </table>

EOT;

Adjust the code or comment it out as required.
Logged

blackicx

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: How to remove title, filename and date shown on the album page ?
« Reply #2 on: September 20, 2005, 01:33:22 pm »

thanks thanks and thanks :)
i did it
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 15 queries.