Advanced search  

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]

Pages: [1]   Go Down

Author Topic: [Solved]: Frontpage only modifiication  (Read 2847 times)

0 Members and 1 Guest are viewing this topic.

RadioErewan

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
[Solved]: Frontpage only modifiication
« on: May 21, 2008, 09:38:54 pm »

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
« Last Edit: May 28, 2008, 05:24:32 pm by Joachim Müller »
Logged

Nibbler

  • Guest
Re: Frontpage only modifiication
« Reply #1 on: May 21, 2008, 09:42:13 pm »

Use anycontent.php
Logged

RenesCopper

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
    • PhotoJournals of René O'Deay - Still Beautiful!
Re: Frontpage only modifiication
« Reply #2 on: May 27, 2008, 07:01:27 pm »

And...?   :P
Logged
Mac OSX 10.3.9, CopperMine 1.4.18, not bridged.

steveeh131047

  • Supporter
  • Coppermine frequent poster
  • ****
  • Offline Offline
  • Posts: 217
Re: Frontpage only modifiication
« Reply #3 on: May 27, 2008, 07:46:08 pm »

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
Logged

RenesCopper

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
    • PhotoJournals of René O'Deay - Still Beautiful!
Re: Frontpage only modifiication
« Reply #4 on: May 28, 2008, 08:50:04 am »

 :-* Thank you. That resolved many questions. I was wondering how to have an intro page.
Logged
Mac OSX 10.3.9, CopperMine 1.4.18, not bridged.
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 15 queries.