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

xen:include vs. link rel

R

ragtek

Guest
#1
What's the diference between this 2 commands?

I've tried
PHP:
<link rel="xenforo_template" type="text/html" href="ragtektest.html" />
<xen:include template="ragtektest" />
and it seems that both are working
 

Kier

XenForo Developer
Staff member
#3
They do the same job, but the <xen:include /> and <xen:require /> are translated into <link rel /> tags through the WebDAV interface so that external editors can (attempt) to load required additional files.

Don't use the <link rel /> version in the standard template editor, it won't work.