Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

FireEvent in views

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):
...
<?php $this->FireEvent('AddCategoryView'); ?>
< /ul>
<?php echo $this->Form->Close('Save'); ?>
...
It could be very useful if add this hook in each view file.

Thanks,
Andrey
Tagged:
Sign In or Register to comment.