1. 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?

Discussion in 'Resolved Bug Reports' started by Kintaro, Jun 23, 2016.

  1. Kintaro

    Kintaro Well-Known Member

    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?
     
  2. Mike

    Mike XenForo Developer Staff Member

    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.
     
  3. Kintaro

    Kintaro Well-Known Member

    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?
     

Share This Page