Template engine replacements, bx tag question.
Question for @UNA Inc - what is the bx tag in template engine for if a user is logged in.
<bx if:user logged in>
HTML here
<bx if:end>
I completely made the above up, was just using as a reference so you would understand what I am asking. What is the correct way?
Where is a list of all replacement values for template engine? For example, __site__ = Site name. Where can I find a list of all available replacement values?
Thank you!
-
-
·
LeonidS
- ·
Hello @Wise !
For your example, the correct code will look like:
<bx if:user logged in> HTML here </bx if:user logged in>
the replacements can be in any child class of the BxDolTemplate parent, like inc/classes/BxDolModuleTemplate.php, modules/base/text/classes/BxBaseModTextTemplate.php etc
-
·
LeonidS
-
- · Wise
- ·
Thank you! 😊