![]() |
Trying to create a template system...
... and running into a problem. I want to make template conditionals, like vbulletin has. However, I have no slightest idea on how to do that. Maybe someone can help me? Thanks.
|
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
If you know how to use the PHP conditions, vBs are nearly identicle, the syntax is just a little different. HTML Code:
<if condition="$bob == 22">Kill Bob</if> PHP Code:
|
Umm... What I asked was - how to create a parser for those conditionals. Doh.
|
I Thought it seemed like a dumb question. :)
|
Well, next time please read the question carefully :) Thanks.
|
All times are GMT. The time now is 03:29 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|