Advanced search  

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

Pages: [1]   Go Down

Author Topic: want a php code to appean on each page on my gallery  (Read 2486 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.018 seconds with 19 queries.