Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Custom banner add-on placement inside #Header div?
ericcarl
New
So I'm following the advice here:
http://lussumo.com/docs/doku.php?id=vanilla:administrators:troubleshooting
... for adding a custom banner to the top of my Vanilla forum. All is going well, except by default the example code provided places the banner code before #Header in the Vanilla theme. How Could I modify this code so it is the first element INSIDE #Header? It seems like it would be related to this line:
$Page->AddRenderControl($LussumoBanner, $Configuration["CONTROL_POSITION_HEAD"]+1);
Assuming that "+1" refers to a position in the tag hierarchy, I tried adjusting that number but with no luck. Any ideas? Thanks!
0
This discussion has been closed.
Comments
themes/
). It is possible through delegates to inject code in to certain theme files, you will have to look through the theme files to find these delegates.The file you'll want to look at is: themes/menu.php. Unfortunately, by examining the position of the delegates in that file, you will see that you can't place anything inside the
#Header
div; only before and after.A solution would be to use CSS
position: absolute;
and move your content wherever you want it. The#Session
uses this method.