forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: hemanshurpatel on January 24, 2008, 02:30:27 pm

Title: want a php code to appean on each page on my gallery
Post by: hemanshurpatel 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
Title: Re: want a php code to appean on each page on my gallery
Post by: François Keller on January 24, 2008, 02:58:04 pm
don't double post  >:(
you have post the same question and have a reply here (http://forum.coppermine-gallery.net/index.php?topic=50002.0)
locking this post
Title: Re: want a php code to appean on each page on my gallery
Post by: Pascal YAP 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