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

XF 1.2 Understanding style directories and imagePath

Discussion in 'Styling and Customization Questions' started by KenSmith, Aug 11, 2013.

  1. KenSmith

    KenSmith Active Member

    I want to be sure I'm on the right track with how to structure my custom style.

    My current understanding is that I should do the following:
    • Set @imagePath to style/MyStyle
    • Put any custom files that my style needs in the style/MyStyle directory (or directories below it)
    • Copy all of style/default/xenforo over to style/MyStyle/xenforo
    • Customize any avatars, smilies, editor icons, etc inside style/MyStyle/xenforo
    When a new XenForo version comes out I will need to copy any non-customized files over again from style/default/xenforo to style/MyStyle/xenforo.

    Does this sound correct?
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Yes, correct except for one thing; you will only need to copy over changed or new style files when upgrading.
     
    KenSmith likes this.

Share This Page