Show the image name under "random images" in index and .. Show the image name under "random images" in index and ..
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Show the image name under "random images" in index and ..

Started by blackicx, August 06, 2005, 01:58:55 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

blackicx

hi... I wander how can i add the names under the "random photos ,last added , most populer etc.."     and   how can i move these menus to another layers with setting in template.html  with dreamweaver ?  pls helpme to out ???

blackicx

1)hi... I wander how can i add the names under the "random photos ,last added , most populer etc.."     ,   
2)how can i move these menus to another layers with setting in template.html  with dreamweaver ?
3)can i show only names not images under  "random photos ,last added , most populer etc.."      menus ?
4)or oww    can i show these images with scroling bar or auto scroll like in php nuke ?



thnx thnx thnx :)

Joachim Müller

we have a "one question per thread" policy you agreed to respect when signing up...

Stramm

1. open function.inc.php, find case statements like case 'lastup':. In that case statement (this one modiefies the last added) you may have to modify the $select_columns to your needs. For just the name it's OK as is. If you additionally want to display the title you'll have to add , title
then modify the $caption
$caption = "<span class=\"thumb_title\">".$row['owner_name']."</span><span class=\"thumb_caption\">".localised_date($row['ctime'], $lastup_date_fmt).'</span>';
This'll display the owner name and below the upload date
2. no clue what exactly you want to do. I won't however use Dreamweaver. It may modify the code without you knowing it and messing up everything. And in template.html you just can move the menus up or down on the page
3. Yes, but you'll have to modify the code again
4. I'm not sure if I understand...

Joachim Müller

re 4): I guess you want to display content from coppermine on non-coppermine pages. There's a whole sub-board dedicated tho this issue: CPMFetch.
Marking this thread as "closed"