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

Editing logo_block template

Phillip

Active member
#1
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.
 

Brogan

XenForo moderator
Staff member
#2
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.