Can't get new plugin Configure to work

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
10 years ago
I am very new to nopCommerce, and I am required to write a Gift Registry plugin for one of my clients.

As was suggested, I copied one of the plugins already in the system, and changed all the names to my new plugin's details. I get the plugin to display in the admin section, and I installed it successfully. The problem is, when I click on configure, I get the following error:

System.Web.HttpException: The controller for path '/Admin/Plugin/ConfigureMiscPlugin' was not found or does not implement IController.

I have looked at multiple forums posts here on the site, but I can't seem to get my plugin to work as it should.

I have uploaded my project in hope that one of you incredibly talented people could have a look and maybe tell me what I'm missing.

You can download the plugin project at:
https://dl.dropboxusercontent.com/u/947233/Nop.Plugin.ShoppingCart.GiftRegistry.zip

Any help will be greatly appreciated.

Thanks,
Hannes
10 years ago
I'm reading this in my cell phone and cannot review your zip file, but I think you're missing to change the configuration route for your plugin. See the routes section at the bottom here https://www.nopcommerce.com/docs/77/how-to-write-a-nopcommerce-plugin.aspx.
10 years ago
Edit Nop.Plugin.ShoppingCart.GiftRegistry\GiftRegistryProvider.cs.

Change line 52 from:
controllerName = "GiftRegistryController";

to:
controllerName = "GiftRegistry";


Recompile (Build) the plugin project and click 'Reload list of plugins' button on Admin > Configuration > Plugins.

.
10 years ago
Legend! Thank you so much. It works as advertised now :)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.