If you want, you can use the current template events to edit that portion of the header:
Content of overall_header_body_before:Content of overall_header_headerbar_before:Assuming the variable
Of course, it will interfere with some extensions that are using those events but aren't that many anyway.
overall_header_body_before
and overall_header_headerbar_before
.Content of overall_header_body_before:
Code:
{% set StockerHeader = true %}{% if StockerHeader %}<div class="hidde-me" style="display: none;">{% endif %}
Code:
</div> </div></div></div>{% set StockerHeader = true %}{% if StockerHeader %}<div id="wrap" class="wrap"> <a id="top" class="top-anchor" accesskey="t"></a> <div id="page-header"> <div class="headerbar baldy-baldy" role="banner"> {% endif %}
StockerHeader
is a variable which returns true when your extension is active.Of course, it will interfere with some extensions that are using those events but aren't that many anyway.
Statistics: Posted by Anișor — Tue Jan 28, 2025 8:05 pm