A special home page A special home page
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

A special home page

Started by Farina, December 22, 2006, 01:07:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Farina

Hi,
I'm using a coppermine gallery in my site and I'm looking for a "mod" for to change the home page, I'd like to put in home page a image (800x600) because every month I make a contest and so I'd like to put in principal page the winner pic.
thanks

Nibbler

Not a feature request. Either modify your theme or use anycontent.php.

Gizmo

Here's an idea for you to consider. If you want to have only the winner's pic on the home page, you could use cpmFetch to display the image and use Photo of the Day/Week, with Archive to archive these winners so that you see past winners. In your case, it would be "Photo of the Month" which is no problem.

I'm not sure if there's a way to get cpmFetch to read what file is the current POTD but you can surely edit the main page file to make this happen. If you need more help, post here and I'll lend a hand since this sounds like an interesting project.
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

Farina

Thanks to all.
I prefered follow the cpmfetch solution, I remake the index.php using a blank page (with header and footer) and so using the cpmfetch library I developed the home page. The month pic for my gallery is every the last one of a special album and so for me was easy to use a function that views the last pic added.
bye and thanks