Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: need help with listing new albums in html page  (Read 4641 times)

0 Members and 1 Guest are viewing this topic.

m0nty

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 26
need help with listing new albums in html page
« 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.. ???
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: need help with listing new albums in html page
« Reply #1 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
Logged

Sam123Des

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: need help with listing new albums in html page
« Reply #2 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.