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.

Themes, call order, and the panel div.

edited August 2006 in Vanilla 1.0 Help
I'm in a situation where i'd like to place the contents of the panel div (in a sidebar) *before* the "Header", "Session" and "Body" divs -- basically, I want the output of panel.php before I get the output of menu.php. I want to do this without any hacks taking place outside the themes files. IE is currently puking on negative positioning for the panel div, so it's not an option. Possible or impossible? If impossible, could I make this possible with an Extension? thanks!


  • Options
    oh -- want to do this in order to preserve the upgrade path. thanks!
  • Options
    guess I'm going to try tweaking the control position vars for now.
  • Options
    Ok, added the following to my settings.php: $Configuration['CONTROL_POSITION_HEAD'] = '100'; $Configuration['CONTROL_POSITION_PANEL'] = '200'; $Configuration['CONTROL_POSITION_MENU'] = '300'; $Configuration['CONTROL_POSITION_BANNER'] = '300'; that appeared to do it. At little less clean than I'd like, but at least it'll mean I should be able to upgrade smoothly. Awesome!
  • Options
    MarkMark Vanilla Staff
    Yep - that's the idea :)
  • Options
    I ended up just moving the top half of the Panel div into menu.php.
This discussion has been closed.