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

XML Schema for add-ons?

Discussion in 'XenForo Development Discussions' started by simunaqv, Oct 17, 2010.

  1. simunaqv

    simunaqv Well-Known Member

    I was just wondering if there is any detailed description of the xml schema for xenForo's add-ons?
  2. Jeremy

    Jeremy XenForo Moderator Staff Member

    The tags are fairly self explanatory. <phases> </phrases> hold the phrases (<phrase> </phrase>), etc. Just pick one up and look at it. Do you need explanation on any particular one?
  3. Indigo

    Indigo Active Member

    He may be asking if there's an XSD (XML Schema Definition) for the addon XML format. Not sure if Kier or Mike wrote one internally for testing.
  4. Vladislav Rastrusny

    Vladislav Rastrusny Active Member

    Why? Structure is so simple, no need to validate.
  5. simunaqv

    simunaqv Well-Known Member

    Thank you for your replies. I do not want to validate the XML. All I want to know is the different types of tags that can be used inside the XML for an add-on.
  6. simunaqv

    simunaqv Well-Known Member

    I had a look at Lawrence's tutorial and it explains a lot of things. Thanks.
  7. Mike

    Mike XenForo Developer Staff Member

    You don't need to touch the XML file. Everything that goes in it is created via the admin CP and simply exported to XML.
    Vladislav Rastrusny likes this.
  8. simunaqv

    simunaqv Well-Known Member

    Thanks Mike.
  9. simunaqv

    simunaqv Well-Known Member

    Sorry to bump this thread again. I have another question. How does the template-related information get into the add-on xml file? I cannot find any option to create a template in the admin section annd then associate it with a particular add-on.
  10. Shadab

    Shadab Well-Known Member

    You'll have to edit the Master Style to associate your template with an Addon.
  11. simunaqv

    simunaqv Well-Known Member

    Thanks Shadab.

Share This Page