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: How to put Php code into template?  (Read 3455 times)

0 Members and 1 Guest are viewing this topic.

lucasnet

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 37
    • TUNING 4U
How to put Php code into template?
« 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 ?
« Last Edit: January 08, 2005, 01:11:25 pm by GauGau »
Logged
LuCaS ( lucas@tuning4u.info ) GG: 40139
---------------------------------------------------------
http://tuning4u.info - best wallpapers and tuning photos

Nibbler

  • Guest
Re: How to put Php code into template?
« Reply #1 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.
Logged

lucasnet

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 37
    • TUNING 4U
Re: How to put Php code into template?
« Reply #2 on: December 22, 2004, 10:25:04 pm »

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

lucasnet

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 37
    • TUNING 4U
Re: How to put Php code into template?
« Reply #3 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 ?
Logged
LuCaS ( lucas@tuning4u.info ) GG: 40139
---------------------------------------------------------
http://tuning4u.info - best wallpapers and tuning photos

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How to put Php code into template?
« Reply #4 on: December 23, 2004, 06:49:26 am »

search the board, this has been asked before.

Joachim
Logged

lucasnet

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 37
    • TUNING 4U
Re: How to put Php code into template?
« Reply #5 on: January 08, 2005, 11:28:47 am »

I found it. Thanks
Logged
LuCaS ( lucas@tuning4u.info ) GG: 40139
---------------------------------------------------------
http://tuning4u.info - best wallpapers and tuning photos
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.