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

Editing logo_block template

Discussion in 'XenForo Questions and Support' started by Phillip, May 21, 2011.

  1. Phillip

    Phillip Active Member

    We want to remove the static header image in our style and replace it with a flash header. What is the optimal way to make changes to the source code?

    Should I add the Flash html to the existing code in the logo_block template or should the existing code be removed in it’s entirety and replaced with just the Flash code that we’ll be using? We just want to ensure that everything still functions as designed especially with all hooks, future upgrades, etc.
  2. Brogan

    Brogan XenForo Moderator Staff Member

    If you're going to be editing the template then it doesn't really matter which way you do it.

    If that template is modified in a future release then all you will need to do is revert it and reapply your edits.

    Ideally if you can utilise hooks via an add-on then that is the best approach, but of course the relevant hook needs to be available to do that.

Share This Page