coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: symantix on February 07, 2004, 09:00:35 PM

Title: Descriptions for Last Uploaded
Post by: symantix on February 07, 2004, 09:00:35 PM
Is there a way to make the descriptions for the last uploaded files appear under their thumbnails on the front page?  That doesn't appear to be an option anywhere.  Is there maybe a hack or something...a piece of code I can insert into the functions maybe?

Any help is greatly appreciated.
Title: Descriptions for Last Uploaded
Post by: Nibbler on February 08, 2004, 12:48:57 AM
functions.inc.php changes:

line 553 becomes:


if($select_columns != '*' ) $select_columns .= ', owner_id, owner_name, aid , caption';


line 566 becomes:


$caption = $user_link.'<span class="thumb_caption">'.localised_date($row['ctime'], $lastup_date_fmt).'<br>'.$row['caption'].'</span>';


Not sure by 'description' if you wanted the caption or the title, just change as appropriate.
Title: Descriptions for Last Uploaded
Post by: symantix on February 11, 2004, 05:05:49 AM
HAHA!  I applied that to my toprated function too.  Thank you so much for the help!