forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: m0nty on July 10, 2004, 06:43:14 am

Title: need help with listing new albums in html page
Post by: m0nty on July 10, 2004, 06:43:14 am
hi,

i'm trying to figure out how to create a section on my main site in an html block..

basically i have a template made, but how do i retrieve the info and output it to the html page?

in my html page (in brief)

New ALBUMS

>> frantic@scala  
>> gatecrasher@nec
>> godskitchen@air
>> dropzone@hidden
>> tidy weekender 5

basically as u can see it's just a list of the latest 5 albums to be added..

i want to be able to display this on my sites main page, and list the last 5 albums (title) and make it so that when a user clicks on the album name on the block it takes them to that album.  it should also update itself automatically everytime a new album is created.. i don't need an image displayed just the albums name..

dunno if i explained clearly enuff, if u need a better explanation let me know.. ???
Title: Re: need help with listing new albums in html page
Post by: Joachim Müller on July 10, 2004, 04:04:08 pm
you can't have dynamic info on a static html page at all, you'll need to have a page type that allows dynamic content (e.g. a php-enabled page). Take a look at the mods board, check the "rss feed" or "random image" mods.

GauGau
Title: Re: need help with listing new albums in html page
Post by: Sam123Des on April 18, 2006, 01:27:58 am
Sorry to drag up an old thread, but is this possible using PHP, I've search for a while and don't have the time to investigate through the gallery coding just yet.

As said I just want to list the 4 or 5 latest galleries, perhaps with photo numbers in brackets.

Thanks
Sam
Title: Re: need help with listing new albums in html page
Post by: Joachim Müller on April 18, 2006, 09:15:22 am
http://forum.coppermine-gallery.net/index.php?board=57.0
Locking