forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: marian on October 05, 2005, 02:30:38 pm
-
I want to get rid of the album thumbnails but keep the layout with the albums listed. T
The image illustrates what I mean. Any help appreciated as I've searched and searched and cant see how to do this.
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.bymnews.com%2Fgallery.jpg&hash=f8b0c6b4ea50a2f21b4b0238580a3c865e2f9fe6)
-
in config set 'Show first level album thumbnails in categories' to 'no'
-
in config set 'Show first level album thumbnails in categories' to 'no'
I tried that, but it produces this
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.bymnews.com%2Fgallery2.png&hash=76a058b1145752ce793720f4f24dbd53fd07f1ec)
which isn't what I want, as it doesn't show the Album Titles, nor date of last additions and, IMHO, isn't attractive.
-
yes, that's actually how it works
You can have the last uploaded thumb in fron of the category. To display a list of the albums below the categories just without the thumbs would mean some changes in theme.php (minor ones)
And if it's attractive or not I let others descide :)
-
To display a list of the albums below the categories just without the thumbs would mean some changes in theme.php (minor ones)
I'm (just about) up to making minor changes to theme php, of someone will please tell me what I should change. ;)
-
in your theme php find
$template_album_list_cat = <<<EOT
below is the html that controls displaying the first level album thumbnails in categories. if you delete a few lines below
<a href="{ALB_LINK_TGT}" class="albums">{ALB_LINK_PIC}<br /></a>
you're rid of the pics.
-
in your theme php find $template_album_list_cat = <<<EOT
below is the html that controls displaying the first level album thumbnails in categories. if you delete a few lines below
<a href="{ALB_LINK_TGT}" class="albums">{ALB_LINK_PIC}<br /></a>
you're rid of the pics.
Many thanks, I will do that in the early hours, when any cockups are less likely to matter!
-
I tried removing this code:
<tr height="100%">
<td align="center" height="100%" valign="middle" class="thumbnails">
<img src="images/spacer.gif" width="{THUMB_CELL_WIDTH}" height="1" class="image" style="margin-top: 0px;
margin-bottom: 0px; border: none;"><br />
<a href="{ALB_LINK_TGT}" class="albums">{ALB_LINK_PIC}<br /></a>
</td>
<td height="100%">
<img src="images/spacer.gif" width="1" height="1">
</td>
<td width="100%" height="100%" valign="top" class="tableb_compact">
{ADMIN_MENU}
<p>{ALB_DESC}</p>
<p class="album_stat">{ALB_INFOS}</p>
</td>
but nothing happened. All the thumbnails were still there ???
</tr>
-
there are two occurances of this line. Therefore I've written a few lines below $template_album_list_cat = <<<EOT
not below $template_album_list = <<<EOT <--- this is not good
-
there are two occurances of this line. Therefore I've written a few lines below $template_album_list_cat = <<<EOT
not below $template_album_list = <<<EOT <--- this is not good
That worked perfectly, many thanks even with my massive bandwidth I can detect that it is much faster