How to make "Disable plugin" button work?

Hi, i'm trying to create new plugin for Vanilla
I can enable it (and it works), but i can't disable it using disable button (
So I create very simple one:
$PluginInfo['Testdisable'] = array(
'Name' => 'Testdisable',
'Description' => '...',
'Version' => '1.0',
'Author' => "..",
'AuthorEmail' => 'abuse@my.mail',
'AuthorUrl' => '',
);
class TestdisablePlugin extends Gdn_Plugin {}
But I can't disable it too.. what should i do to make Disable button work for my plugin?
Tagged:
0
Best Answer
-
peregrine MVP
your folder name must match the name of the plugin
PluginInfo['Testdisable']
the folder must be Testdisable.
matching upper and lowercase.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
7
Answers
your folder name must match the name of the plugin
PluginInfo['Testdisable']
the folder must be Testdisable.
matching upper and lowercase.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Thanks
also it affects icon - it work now too )
Thank you @peregrine. I should have read your post before spending 2 days on it