How i can put php functions in template file? How i can put php functions in template file?
 

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

How i can put php functions in template file?

Started by N2GetherNow, July 18, 2009, 07:39:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

N2GetherNow

i do this:

define('TEMPLATE_FILE', 'template.php'); in include/init.inc.php
but functions that i put doesn't work (they works fine, when i put them in stand alone file)

i want to be performed on server instead of client browser, any ideas ?