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: Last added albums  (Read 4519 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.019 seconds with 20 queries.