forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: duckytn on March 12, 2005, 11:02:59 pm

Title: Remove the date
Post by: duckytn on March 12, 2005, 11:02:59 pm
 ;D Good Afternoon,

I am skinning coppermine for my site. I would like to remove the date from beneath the Last Additions thumbnails as a number of the pics I am adding are many years old and some folks might not grasp that with a date being displayed. I have looked through the forums and can't seem to find anything specific for this. I am using the latest stable release.

Cheers!

ducky
Title: Re: Remove the date
Post by: Casper on March 13, 2005, 11:42:09 am
try this,

open include/functions.inc.php, and find;

Code: [Select]
$caption = $user_link.'<span class="thumb_caption">'.localised_date($row['ctime'], $lastup_date_fmt).'</span>';
Change it to;

Code: [Select]
$caption = $user_link.'<span class="thumb_caption">' ';
There are 2 places in the file to make this change.
Title: Re: Remove the date
Post by: duckytn on March 13, 2005, 04:16:27 pm
Had to make one small modifcation to what you posted. It would appear that the </span> is required in the altered code for it to work. After I made that change it worked like a charm!!

 ;D ;D

I really apprecaite your help!!

Cheers!

ducky
Title: Re: Remove the date
Post by: Casper on March 13, 2005, 04:39:48 pm
Yes, just realised I made a mistake with the post.  I meant to change it to this;

Code: [Select]
$caption = $user_link.'';