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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

[Solved]: Frontpage only modifiication

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

Previous topic - Next topic

0 Members and 3 Guests 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.