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!

  • 260
  • More
Replies (2)
    • 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

      • Thank you! 😊

        Login or Join to comment.