xen:include vs. link rel

  • Thread starter Thread starter ragtek
  • Start date Start date
R

ragtek

Guest
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
 
I think the only difference is the second one is using XenForo template syntax.
 
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.
 
Top Bottom