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

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

[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.