How to put Php code into template? How to put Php code into template?
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

How to put Php code into template?

Started by lucasnet, December 21, 2004, 08:55:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lucasnet

Question are in topic. When i inserted php code (<? print... ?>) , doing nothing. I cant see anything. What i must to do ?
LuCaS ( lucas@tuning4u.info ) GG: 40139
---------------------------------------------------------
http://tuning4u.info - best wallpapers and tuning photos

Nibbler

You cannot put php in the template directly. You must use theme.php as descibed in the docs.

lucasnet

LuCaS ( lucas@tuning4u.info ) GG: 40139
---------------------------------------------------------
http://tuning4u.info - best wallpapers and tuning photos

lucasnet

But write me one. I want include some counter (online,today,yesterday etc.). What i must insert to theme.php and template.htm ?
LuCaS ( lucas@tuning4u.info ) GG: 40139
---------------------------------------------------------
http://tuning4u.info - best wallpapers and tuning photos

Joachim Müller

search the board, this has been asked before.

Joachim

lucasnet

LuCaS ( lucas@tuning4u.info ) GG: 40139
---------------------------------------------------------
http://tuning4u.info - best wallpapers and tuning photos