I have gallery installed inside a portal type site. I would like to create a custom block for the home page of this site that will simply generate a list of text links to the 10 newest photo albums created...
Can anyone explain how I can check and display a list of the 10 newest photo albums created?
Thank you for any help you can provide!
Erotic1
Posts: 3236
You mean like the "Latest Updates" section at http://fryfrog.com/ ? I can post the code later, but I found it here in the forums so be sure you search
Posts: 12
Thanks for your quick response! I did find the code under "latest albums" search and tested it on my stand alone gallery which works great!
However, the hard part is i need to convert the code to work in a block for xoopsgallery...
if anyone has already done this please let me know!
Thanks!
Posts: 271
I dont think the code needs to be converted.
just do an IFRAME include and call to the latest albums.php file should work.
Posts: 12
I tried something similar to that as soon as i got the script... I just put the code in a blank page, uploaded it to the gallery directory, and then just tried calling that page directly without loading the xoops template. It doesnt work. I think some of the variables and their locations have to be redefined or something....
Posts: 271
then you may want to poke around Xoops, for an answer, as to how to call an include into their CMS.