Lack of interest ad_header inconsistent behaviour fix/help

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

Gladius

Well-known member
So, most of us have probably started with ad_header in the same way as with all the other ad templates, because you expect consistent behaviour. Only you don't get it, because you can't just dump code into ad_header and expect it to show properly on top of your forum. You get this mess, nicely illustrated by Slavik.

I expect that my case was similar to that of many others - I tried putting my code there, got a broken layout, tried figuring out what was wrong with my code (and got nowhere, as the code as was ok) and in the end just moved it to the lower ad template because it worked there and that was the quickest solution. Fast forward to a couple of weeks ago that I was working on another forum where we needed something up there and I see the same mess with another piece of code I put in. A few ticket responses later I now know why it's happening, but it's still bothering me for two reasons. First, the behaviour is not consistent with all the other ad templates (you shouldn't need to jump through hoops to make a piece of code dumped into an ad template show properly) and second, no warning anywhere in the ACP that this template behaves markedly differently from the others and how to handle it.

Ideally, I expect some kind of workaround could be used to make the layout automatically adjust to the inserted code's dimensions. But if not, at the least some pointers and/or warnings about it should be posted in the ACP, maybe commented in the template itself or whatever so that people not familiar with it know that they need to approach it differently and what to expect. As it is, I expect that most regular users wouldn't know how to make a block of code inserted in there show properly.

Sure, it's just one of a couple dozen of those XF things that you learn about through practice and remember for the future, but most new users encountering it for the first time will likely give up on it unnecessarily, assuming that their inserted code for some reason "doesn't work" in that template.
 
Upvote 0
This suggestion has been closed. Votes are no longer accepted.
Top Bottom