Hello…
I’m sorry, I have no knowledge in PHP script, so I’m having problems to use some features of Zenphoto.
I want to put a link to last created album in index page of my website, I want to create a news from Zenphoto albums, to show the last album created and the description, but in my website index, not in Zenphoto pages.
Is this possible?
How can I do this?
Thanks very much for the attention
Regards
Leandro
Yes, but you will have to do some MySQL work. The last album created will be the one with the highest 'id' value. So do a
SELECT * FROM `` ORDER BY id DESCENDING LIMIT 1
This will give you the table entry for the most recent album. There is a 'name' field in the record which is the album name. Create a new album object giving this name, then do what ever you want to put it on your index page.