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

Not a bug Wrong @headerLogoPath in Admin Templates?

Kintaro

Well-known member
#1
I'm trying to use @headerLogoPath in some admin templates (I'm actually on xf 1.3).

In admin templates @headerLogoPath is resolved with:
Code:
styles/default/xenforo/logo.png
instead of the path inserted in:
Code:
style-properties&group=header#_headerLogoPath
Is it the normal behavior or a bug?
In case is nota a bug how I can access the custom @headerLogoPath from admin templates?
 

Mike

XenForo developer
Staff member
#2
Public style property modifications do not apply to the control panel. There are separate properties for that, based on the master style. As such, this is expected.
 

Kintaro

Well-known member
#3
Understood!
So the solution is modifying the Master Style? it will be overwritten on upgrade? or is better to write some code to pull @headerLogoPath from a specific style?