[Solved]: Frontpage only modifiication [Solved]: Frontpage only modifiication
 

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

[Solved]: Frontpage only modifiication

Started by RadioErewan, May 21, 2008, 09:38:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

RadioErewan

Would like to modify frontpage of CPG only. We need slideshow (slideshowpro powered) on frontpage only. Where to start? Need some guides on modifying theme file, have no idea how to distinguish between any other page and main CPG screen. Any hints?

Regards
Radek Przybyl

Nibbler


RenesCopper

Mac OSX 10.3.9, CopperMine 1.4.18, not bridged.

steveeh131047

Radek,

Put any code that you want to see only in the CPG homepage into "anycontent.php", and insert the string "anycontent" into Admin > Config > Album list view > The content of the main page.

To quote the "help" on this item:

Quote'anycontent': inserts php-generated content that has to reside within the file 'anycontent.php' into the index page. Can be used to include banner-rotation scripts or similar.

Steve

RenesCopper

 :-* Thank you. That resolved many questions. I was wondering how to have an intro page.
Mac OSX 10.3.9, CopperMine 1.4.18, not bridged.