Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
FireEvent in views
omniton
New
hi Vanilla Team,
I'm working on mailing list plugin for forum (I'm going to migrate form fudforum). The plugin extends category table with email address column. I had to make new view files (addcategory.php and editcategory.php) and placed in theme folder. But would be great to add FireEvent call inside original view file (before form close) to avoid unnecessary hacking (e.g. addcategory.php):
Thanks,
Andrey
I'm working on mailing list plugin for forum (I'm going to migrate form fudforum). The plugin extends category table with email address column. I had to make new view files (addcategory.php and editcategory.php) and placed in theme folder. But would be great to add FireEvent call inside original view file (before form close) to avoid unnecessary hacking (e.g. addcategory.php):
...It could be very useful if add this hook in each view file.
<?php $this->FireEvent('AddCategoryView'); ?>
< /ul>
<?php echo $this->Form->Close('Save'); ?>
...
Thanks,
Andrey
Tagged:
0