1. 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

Discussion in 'XenForo Development Discussions' started by ragtek, Oct 27, 2010.

  1. ragtek

    ragtek Guest

    What's the diference between this 2 commands?

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

    Brogan XenForo Moderator Staff Member

    I think the only difference is the second one is using XenForo template syntax.
  3. Kier

    Kier XenForo Developer Staff Member

    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.
    Jeremy likes this.
  4. unfaceguy

    unfaceguy New Member

    hi guys , i want to include php file . do u know how to?

Share This Page