forum.coppermine-gallery.net
Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: forcer on March 03, 2004, 04:38:51 pm
-
when viewing thumnails in the title there are sorting options:
TITLE + -
FILE NAME + -
DATE + -
how can i remove this?
this part isnt being used by anyone on my site and probly never will so by removing it i can make the that table its in a bit smaller.
any help appreciated thanx.
-
Open themes/yourtheme/theme.php.
Find the section headed;
// HTML template for title row of the thumbnail view (album title + sort options)
$template_thumb_view_title_row = <<<EOT
Edit the table to just show the
<td width="100%" class="statlink"><h2>{ALBUM_NAME}</h2></td>
-
hi,
when i try to do it in de way you explained still the ++ etc are there, what can i do wrong?
I am a newby in php etc.
thanks
-
for the default/classic theme, you look for
// 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}"> + </a></span></td>
<td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&page={PAGE}&sort=td" title="{SORT_TD}"> - </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}"> + </a></span></td>
<td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&page={PAGE}&sort=nd" title="{SORT_ND}"> - </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}"> + </a></span></td>
<td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&page={PAGE}&sort=dd" title="{SORT_DD}"> - </a></span></td>
</tr>
</table>
</td>
</tr>
</table>
EOT;
and replace it with// 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>
</tr>
</table>
EOT;
No PHP there, everything plain html stuff...
GauGau
-
thanks,