PDA


View Full Version : The simplest way to put the 12 newest images from gallery on my CMPS home page


Freeway
05-06-2005, 09:56 AM
I have looked through the forms and found some ways to do this but, it seems like there should be an easier way.

I have the 12 newest posted images show up on my gallery index page

I would like those 12 newest images to also show up on my home page ( CMPS )


Is there a super simple way to do this?

What I would like to do is make a new template called adv_portal_gallery_newest and then put "some code" in there. ( Cant I just copy and paste the code from the index page of gallery that makes those 12 newest images appear in the first place? )

Then just make a new model that calls that template.

Am I trying to be to easy on myself?

Brian
05-06-2005, 10:53 AM
Check the hacks forum for a thread by KW802 about creating a random gallery CMPS module. As far as I know that's the only CMPS module that has been posted.

Freeway
05-06-2005, 01:07 PM
Check the hacks forum for a thread by KW802 about creating a random gallery CMPS module. As far as I know that's the only CMPS module that has been posted.
Hmmm, thats what I was afraid of. I saw that post and I was hoping there was a way to do it without so much foo foo.

ConqSoft
05-06-2005, 01:13 PM
That's about as simple as it gets... PHP code in the background, and a template in the foreground...