Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Last added albums  (Read 4192 times)

0 Members and 1 Guest are viewing this topic.

blubber

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Last added albums
« on: November 17, 2006, 05:34:32 pm »

Hello,

i need some Help.

I want do display in an external Portal the last added Albums aout of two categories with 1 random pic out of the album. Additional the name of the album. How can i do that? Have somebody sample code? Thanks.
Logged

jaiak

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 34
  • Spanish
    • Spanish Young People Electronic Music and Concerts
Re: Last added albums
« Reply #1 on: November 19, 2006, 09:51:43 pm »

Hello

I wnat this modication too, for example: the last albums modified

Album title 1 (and link)
Album title 2 (and link)
Album title 3 (and link)

i have searched in the cpmfeth faq and docs but i don'r find the answer.

Thanks in advance and sorry for my english
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: Last added albums
« Reply #2 on: November 20, 2006, 03:09:04 pm »

Hello,

i need some Help.

I want do display in an external Portal the last added Albums aout of two categories with 1 random pic out of the album. Additional the name of the album. How can i do that? Have somebody sample code? Thanks.

Does this code do it?  I found it in my examples..

You need to add the stuff before and after, but this would be the call.


$objCpm->cpm_showAlbumsUpdatedOverLastDays(1000,$options);
Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

jaiak

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 34
  • Spanish
    • Spanish Young People Electronic Music and Concerts
Re: Last added albums
« Reply #3 on: November 20, 2006, 06:37:22 pm »

oh! thanks vuud but i have been read this sentence, but aren't that I want

i wanat a text link for the las 3 or 5 albums, (links text) no thunbnail. and the las 3 or 5, no the last modified in tha last XX days

Regards from spain
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 21 queries.