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.
Options

How to position delegates?

edited October 2007 in Vanilla 1.0 Help
If you are calling to the same delegate with multiple extensions, how do you order one above the other? For example BBInsert Bar, below Discussion tags? Sorry in advance if I'm asking this in the wrong context.

Comments

  • Options
    edited March 2007
    if BBInsert Bar is installed first, it is called first.
  • Options
    Depends which extension you enable first. They are loaded in the order on first activated if I recall correctly. Just look at your conf/extensions.php file. I don't think there is a way to set priorities on delegates.
  • Options
    Thanks, I just enabled them in order, easy fix!
  • Options
    Could this functionality be added? Where the AddToDelegate function would have an extra parameter, $Position, like the AddRenderControl function in the Page class.
This discussion has been closed.