forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: lucasnet on December 21, 2004, 08:55:23 pm

Title: How to put Php code into template?
Post by: lucasnet on December 21, 2004, 08:55:23 pm
Question are in topic. When i inserted php code (<? print... ?>) , doing nothing. I cant see anything. What i must to do ?
Title: Re: How to put Php code into template?
Post by: Nibbler on December 21, 2004, 09:35:50 pm
You cannot put php in the template directly. You must use theme.php as descibed in the docs.
Title: Re: How to put Php code into template?
Post by: lucasnet on December 22, 2004, 10:25:04 pm
Ok. Thanks  ;)
Title: Re: How to put Php code into template?
Post by: lucasnet on December 22, 2004, 11:19:00 pm
But write me one. I want include some counter (online,today,yesterday etc.). What i must insert to theme.php and template.htm ?
Title: Re: How to put Php code into template?
Post by: Joachim Müller on December 23, 2004, 06:49:26 am
search the board, this has been asked before.

Joachim
Title: Re: How to put Php code into template?
Post by: lucasnet on January 08, 2005, 11:28:47 am
I found it. Thanks