Show only newest album

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Mantlet
Forum Members
Forum Members
Posts: 114
Joined: Fri Apr 28, 2006 9:42 am

Show only newest album

Post by Mantlet »

Hello,

Is there a way for Album 0.9.2 to display only the newest album? I want to build a site that gets a new photo album for each new event. Then on a news like page should show only the newest album that has been created.

So I don't want to add the albums="xxx" tag, because that calls a static album. It should get the album with the highest ID or so.

Thanks in advance
alby

Re: Show only newest album

Post by alby »

Mantlet wrote: Is there a way for Album 0.9.2 to display only the newest album? I want to build a site that gets a new photo album for each new event. Then on a news like page should show only the newest album that has been created.

So I don't want to add the albums="xxx" tag, because that calls a static album. It should get the album with the highest ID or so.
From help, I see:
sortdesc="true" and number="10" params

Alby
Mantlet
Forum Members
Forum Members
Posts: 114
Joined: Fri Apr 28, 2006 9:42 am

Re: Show only newest album

Post by Mantlet »

Hello Alby,

The sortdesc I had seen, but the number only applies to images. So you can show only the ten newest images or so. It doesn't work in combination with a list of albums unfortunately.

I had tried the numbers thing already, but the description of it also states that it applies to images:
(optional) number="10"
Show a certain number of recently updated pictures
There isn't that kind of a tag that applies to a list of albums however...

Anyway, thanks for looking off course
Last edited by Mantlet on Thu Nov 29, 2007 3:11 pm, edited 1 time in total.
Mantlet
Forum Members
Forum Members
Posts: 114
Joined: Fri Apr 28, 2006 9:42 am

Re: Show only newest album

Post by Mantlet »

Apparently there seems no direct solution to this. So I submitted it to the album Feature requests.

That project has been quiet for a while though, is it still being developed?
Post Reply

Return to “CMSMS Core”