|
|||||||
| Programming, Coding, (Web)Design Discuss all your programming or design needs with likeminded people. |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Yarr... I be blind!
Join Date: May 2002
Location: Calgary, Canada
Posts: 3,191
Rep Power: 80 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
my new template system in forum-x...
I can't believe i finally got it working, but i did, my template system finally works!
![]() Usable Statements: <if> <elseif> <else> <include template=""> <include file=""> <require file=""> <comment: ............. > <variable name="blah" value="new"> (Updated to use <'s and >'s from {'s and }'s) Unlimited nested <if> statments ![]() Can't wait to get more done on ForumX_R2, to show you guys. but right now, about all i have done is logging in, (and a lot of the internal workings)
__________________
|
|
|
|
|
|
|
|
Yarr... I be blind!
Join Date: May 2002
Location: Calgary, Canada
Posts: 3,191
Rep Power: 80 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I may add <script type="text/php"> ... </script> tags to allow actual php code within templates at some point, but i dont really need them right now.
__________________
|
|
|
|
|
|
|
|
Yarr... I be blind!
Join Date: May 2002
Location: Calgary, Canada
Posts: 3,191
Rep Power: 80 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
fixed templates, so if you dont have an ending {/if} tag, it ignores it.
__________________
|
|
|
|
|
|
|
|
Yarr... I be blind!
Join Date: May 2002
Location: Calgary, Canada
Posts: 3,191
Rep Power: 80 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
switched over to using <if> instead of {if}, i like the way <if> looks better.
__________________
|
|
|
|
|
|
|
|
Yarr... I be blind!
Join Date: May 2002
Location: Calgary, Canada
Posts: 3,191
Rep Power: 80 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Updates:
- fixed server side <comment> tag problems with multiple lines. - fixed <if> statements when using <if $var>4>. - added <?php tags, allowing for users to use other php code directly in templates (if enabled). - removed <require> and <include> tags, as they can be done within <?php tags if really neccessary, which i doubt. That brings the Template system up to Version 1.0 Alpha Eight. Its really starting to work well, and a lot of bugs are being worked out.
__________________
|
|
|
|
|
|
|
|
Yarr... I be blind!
Join Date: May 2002
Location: Calgary, Canada
Posts: 3,191
Rep Power: 80 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
fixed a few more parsing bugs, and beta 1 is done, features locked for templates, and now time for bug testing. Once i get all the bugs out of the template system, its time to work on the other things, in forum-x. Things are moving along smoothly.
__________________
|
|
|
|
|
|
#7 |
|
DriverHeaven Junior Member
Join Date: Nov 2002
Location: Sydney, Australia
Posts: 26
Rep Power: 0 ![]() |
do we get to see it??
|
|
|
|
|
|
|
|
Yarr... I be blind!
Join Date: May 2002
Location: Calgary, Canada
Posts: 3,191
Rep Power: 80 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
you mean forum-x, or my template system?
__________________
|
|
|
|
|
|
#9 | |
|
Freedom is a feature.
|
Quote:
__________________
-- Vedran |
|
|
|
|
|
|
|
|
Yarr... I be blind!
Join Date: May 2002
Location: Calgary, Canada
Posts: 3,191
Rep Power: 80 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
some later date when more works
__________________
|
|
|
|
![]() |
| Thread Tools | |
|
|