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

XF 1.4 Styles

Discussion in 'XenForo Questions and Support' started by gajinoz, Feb 17, 2015.

  1. gajinoz

    gajinoz Member

    Found a style I like in the resources section. Not sure how to install this though. Is it the same as other addons:

    Copy files to apropriate place on server
    Install XML file

    Or is there a different process?
  2. Amaury

    Amaury Well-Known Member

    There should be instructions in the style thread.
  3. gajinoz

    gajinoz Member

    I couldn't see any, I'll look again.
  4. oman

    oman Well-Known Member

    That's the process normally. If there are no files associated with the style to upload, then installing the XML file is usually the only step. Most have files though.
    Amaury likes this.
  5. Arty

    Arty Well-Known Member

    Yes, that's the process.

    However, there is another recommended step if you want to update your style later - after installing that style, create a new child style. Import style XML file, then click "Create New Style" button, select style you have just imported as parent style and submit form.

    What do you need that for? To keep your customizations when updating style. When in future you will be updating style, you will need to import new XML file, which will overwrite all templates and style properties. That means your custom changes will be lost. However style import does not affect properties customized in child styles. So instead of applying your changes to downloaded style, apply changes to child style.

    For example, you have downloaded and installed "Awesome Style". Create new child style "My Style", then set "My Style" as default style. Then in styles list uncheck box for "Awesome Style" to make sure users can't select it.

    When you'd want to change something, like logo path or anything else, edit style property in "My Style".
    oman likes this.
  6. oman

    oman Well-Known Member

    Nice explanation. :)
  7. Brogan

    Brogan XenForo Moderator Staff Member

Share This Page