Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: How to put Php code into template?  (Read 2973 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: 47844
  • 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.019 seconds with 20 queries.