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.

define body id

edited November 2007 in Vanilla 1.0 Help
Hi.
how can i add an own body id for an extension?

Comments

  • Assuming you are using the extension.php page, you could do this:if (($Context->SelfUrl == 'extension.php') && (ForceIncomingString('PostBackAction', '') == 'MyExtension') { $Head->BodyId = 'MyExtension'; }
    The if simply makes sure that your extension doesn't change the body id when it shouldn't.
  • Thanks a lot :)
This discussion has been closed.