Titles under random files & latest uploads.. Titles under random files & latest uploads..
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Titles under random files & latest uploads..

Started by bbt2993, January 07, 2005, 10:54:50 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bbt2993

Hi All,

I started fiddeling around with coppermine some time ago and have had great use of these forums.

However, now I need aid for an issue I cannot see anywhere.

How do I get "titles" under my random & latest thumbs ??

Pls advise anyone....

Brgds

bbt2993 aka SpaceCow

Nibbler

You need to look in your include/functions.inc.php, and find the case you need, for example:

case 'lastup':

The caption is set in the foreach loop, so you need to make sure that what you want as the caption is being returned as:

$rowset[$key]['caption_text']

So to add the title, we can add:

$caption .= '<span class="thumb_caption">'.$row['title'].'</span>';

just before the caption is set by the line:

$rowset[$key]['caption_text'] = $caption;

bbt2993

Hi & Thanks...

I managed to get it inder "Latest Uploads", but not under Random.

You can see here : http://www.jakob-lacour.dk/downloads/index.php?cat=3

I cannot seem to find the correct place in the

case 'random':

to input the code.

Nibbler

$row['caption_text'] = $row['title'];

and

if($select_columns != '*') $select_columns .= ', aid, title';