Displaying "last additions" on another page Displaying "last additions" on another page
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Displaying "last additions" on another page

Started by TimmyJnr, November 26, 2004, 02:19:29 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

TimmyJnr

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:
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

kegobeer

Have you searched the forums yet?  There are many posts relating to your topic.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

TimmyJnr

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