Member:
Markus ⋅
Date: March 5, 2010, 01:11 AM
⋅ Subject: "Re: Global Header only displays when in admin area."
It's actually not that complicated; the system simply checks if your custom module header is longer than nothing. If there's outcommented code, it still registers as over zero characters, and takes precedence.
Actually now that I look at it, what the code says is:
if (strlen($_SESSION['module']['module_header']) > 1)
Or, if string length in module_header is greater than 1, then we take it in. (I suppose I left it at one in case someone forgets a single space there.) The outcommented code must be residue from your older installations, as it isn't there in the 1.20 default install. We ditched the "Wiccle Blogs" etc. banners with 1.20 to keep things simple and tidy.
By the way, in the event that you want to change the location of your custom header, simply move the snippet I noted in the earlier post anywhere you wish within the $skin['page_html_wrapper']. If you want to further control its display, you can add a definition for #site_header in your CSS files (such as wrappers.css).