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: want a php code to appean on each page on my gallery  (Read 2450 times)

0 Members and 1 Guest are viewing this topic.

hemanshurpatel

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 10
    • Free online gallery just for you
want a php code to appean on each page on my gallery
« on: January 24, 2008, 02:30:27 pm »

Hello friends
i am using coppermine for my gallery
i want a php code to appear on each page of my website
I add that code on anycontent.php but it appears on homepage only
can anyone tell me how can i make it to appear on all pages.

I have try to add that code on template.html but that didnt work, i dont know where in theme.php i can add that code so i add that code in anycontent.php page
but it doesnt appear in each page.

Please can anyone help me in that.


Regards,

Hemanshu Patel
« Last Edit: January 25, 2008, 09:28:45 am by Joachim Müller »
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: want a php code to appean on each page on my gallery
« Reply #1 on: January 24, 2008, 02:58:04 pm »

don't double post  >:(
you have post the same question and have a reply here
locking this post
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Pascal YAP

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 13833
  • Hello World :-)
    • CPG 1.5.x ExperiMental website
Re: want a php code to appean on each page on my gallery
« Reply #2 on: January 24, 2008, 10:45:24 pm »

Hello,

Frantz is right.
ANYCONTENT.PHP work only on INDEX.PHP.

You need to add your own PHP code inside a new PHP file (any name) and catch this one through Footer or Header (read your CONFIG.PHP for that)

PYAP
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.