• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

What are these <xen:***> tags?

JJJ

Active member
#1
Maybe a stupid beginners question: In HTML templates, I often find terms like:

Code:
        <xen:foreach loop="$posts" value="$post">
            <xen:if is="{$post.message_state} == 'deleted'">
                <xen:include template="post_deleted_placeholder" />
            <xen:else />
                <xen:include template="post" />
            </xen:if>
        </xen:foreach>
This somehow looks like PHP code, but actually it isn't, because it is in <xen:***> tags.

Where can I learn more about this functionality? Is there a reference guide? Tutorials?

Thanks for any link, that helps to understand this. :)
 

Brogan

XenForo moderator
Staff member
#2
It is XenForo syntax for use in HTML and CSS templates.

There is no user guide as such, just a matter of learning them as you go.