coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: blackicx on August 06, 2005, 01:58:55 AM

Title: Show the image name under "random images" in index and ..
Post by: blackicx on August 06, 2005, 01:58:55 AM
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 ???
Title: Re: Show the image name under "random images" in index and ..
Post by: blackicx on August 06, 2005, 02:09:23 AM
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 :)
Title: Re: Show the image name under "random images" in index and ..
Post by: Joachim Müller on August 06, 2005, 02:54:23 AM
we have a "one question per thread" policy you agreed to respect when signing up...
Title: Re: Show the image name under "random images" in index and ..
Post by: Stramm on August 06, 2005, 08:48:57 AM
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...
Title: Re: Show the image name under "random images" in index and ..
Post by: Joachim Müller on August 06, 2005, 10:24:39 AM
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 (http://forum.coppermine-gallery.net/index.php?board=57.0).
Marking this thread as "closed"