Zelaron Gaming Forum  
Stats Arcade Portal Forum FAQ Community Calendar Today's Posts Search
Go Back   Zelaron Gaming Forum > The Zelaron Nexus > Forum News, Suggestions and Discussion

 
 
Thread Tools Display Modes

 
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
 



 

Bookmarks

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules [Forum Rules]
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Search engines? Chruser Forum News, Suggestions and Discussion 3 2002-01-25 09:24 AM


All times are GMT -6. The time now is 12:05 PM.
'Synthesis 2' vBulletin 3.x styles and 'x79' derivative
by WetWired the Unbound and Chruser
Copyright ©2002-2008 zelaron.com
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.