forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: TimmyJnr on November 26, 2004, 02:19:29 am

Title: Displaying "last additions" on another page
Post by: TimmyJnr on November 26, 2004, 02:19:29 am
Hi all,

I'm new to this board, so my apologies in advance if this is in the wrong place. It's the best place I think I could find.

I've just redesigned my personal site, to include new features such as a blog and a photo gallery - using Coppermine. On my front page, I have things like "Latest Blog Posts", "Newest Photos", etc. The blog posts are done through the RSS feed, but I'm not sure how to get my newest photos out there. Basically, something similar to the "Last addtions" section at the bottom of the gallery index page is what I'm after.

I started by looking around in Coppermine's index.php. I found that the following code displays the latest addition thumbnails:
Code: [Select]
display_thumbnails('lastup', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);So I started with that - but then got lost. I tried to work out how I could pull the display_thumbnails function into my other page, so I could call it from there, but I found nothing searching through index.php and the included files.

The page I want them on is http://www.timmyjnr.id.au/ - just on the top right, in the section marked "New Photos". My Coppermine home page is at http://www.timmyjnr.id.au/cm/.

If anyone knows where I need to look and what I need to do, that would be much appreciated.

Thanks!

- Tim Malone
Title: Re: Displaying "last additions" on another page
Post by: kegobeer on November 26, 2004, 04:11:46 am
Have you searched the forums yet?  There are many posts relating to your topic.
Title: Re: Displaying "last additions" on another page
Post by: TimmyJnr on November 26, 2004, 04:51:02 am
Hi kegobeer,

Thanks - I did search the forums, and also did a Google search as well, but wasn't able to find what I was looking for.
However, I've just searched the forums again, trying different keywords and looking deeper, and I think I may have found a mod that will help.

Thanks,

 -- Tim