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.
How would I do this?
adrian.
✭
I need to add an extra menu into the top of each page. I need to basically just insert a list into the header area, just before the main menu at the moment.
How would I go about doing this?
0
This discussion has been closed.
Comments
and if you need to add extra tags at the foot to close off the markup you added after the body tag, do this: Save the code as a .php file in your extensions directory, and enable through the admin extensions management.
HTH
M.
I'm passing different files in different areas. One type of file needs
to be parsed and the other is just a flat html file (global header info).
After playing around with it a bit last night (unfortunately, I'm no php
coder) I got it to do somewhat what I wanted, but I'll still need to work
on it a bit more.
Mark - are the page object events called like this, or am i totally off?
function HeadRender() {
function FootRender() {
$Page->AddControl("Page_Unload", $PageEnd);
That code would add a control called "$PageEnd" to the "Page_Unload" event.
I've started the document on how to create and add controls to the page object, but it is not yet finished. You can check it out here:
http://lussumo.com/docs/doku.php?id=vanilla:development:customcontrols