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.

Problem with Form plugin

edited February 2016 in Vanilla 2.0 - 2.8


I downloaded this plugin:
When enable the plugin, I can access the Form from the link is added to the menu and everything works fine in the Form:

but the problem is I can't no longer access the discussions and I get the following error:

When I remove this code I can access the discussions but this makes the link is not added to the top menu.:

public function base_render_before ($sender) { // We only need to add the menu entry if a) the controller has a menu // and b) we are not in the admin area. if ($sender->Menu && $sender->masterView != 'admin') { $sender->Menu->AddLink('', t('Form & Validation'), 'vanilla/HowToFormValidate'); } }

How I can fix this? I want to have the link on the top menu and have access to the discussions.

Sorry for my bad english btw.


  • Options
    R_JR_J Ex-Fanboy Munich Admin

    Thanks for that feedback! You have to change if ($sender->Menu && $sender->masterView != 'admin') { to if ($sender->Menu && $sender->MasterView != 'admin') {. I'll update the plugin as soon as possible.

    By the way: if you go to the plugin download link there is a button for asking a question. If you use that, the plugin author gets a notification.

Sign In or Register to comment.