I’m are not trying to create another Smarty or template language system. What I’m trying to do is make things a little easier for template designers. We don’t need smarty at this point. These tags are are just some simple swicthes that outputs a value based on a condition. I would not want to use widgets for this purpose as it would require several widgets or a more complicated structured.
These tags will not get in the way of any designer. They either use it or leave it alone. Besides they reuire a few lines of codes. No huge byte size or processing overheads. The way I see it they will be processed much faster that Widgets (similar speed when compared to placeholders).
Before we decided to rule against these conditional tags lets ask ourselves how easy is would be for a developer/designer to secure a section of his/her page?
Posible solution:
1) Use Placeholder to output the value when the user logins - Content is not visible in design mode
2) Use a widget to output the text or a chunk - Requires from php and API knowledge
3) User a TV to output the value and use @EVAL to test if user is logged in
4) Use the new [[:IF-LOGIN]] tag - no need for php or a widget or a tv. Just a simple logical tag.
[[:IF-LOGIN? &then=`Your access code is 9649-223423-2323`]]