View Single Post
 
Reply
Posted 2007-09-20, 03:57 PM in reply to Lenny's post starting "I've been playing around with settings..."
Templates do not support scripting languages, except for PHP in conditionals. You can do JavaScript scripting, but it's clientside. PHP itself is a scripting language and its insertion mechanics are similar to ASP, if you were working at the file level.

You can do some tricky templating using fake conditionals. For example, I've often used the construct
Code:
<if condition="$GLOBALS['countsomething']++"></if>
This is inclusion number $GLOBALS[countsomething] of this template
In this case, the sole purpose of the conditional was to perform a calculation.
Old
Profile PM WWW Search
WetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusion
 
 
WetWired