Problem in updation of plugin in 4.0 version

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
Hi everyone,

I have updated my plugin in nopcommerce 4.0 but i am facing the problem in opening my configue page in admin panel.
The link which i am passing is    http://localhost/Admin/Controllername/Configure

but page not found is showing. This is because i am not able to go to view from controller's action.
Please help me
6 years ago
Sachin2018 wrote:
Hi everyone,

I have updated my plugin in nopcommerce 4.0 but i am facing the problem in opening my configue page in admin panel.
The link which i am passing is    http://localhost/Admin/Controllername/Configure

but page not found is showing. This is because i am not able to go to view from controller's action.
Please help me


Did you  do the following things ?

i.e. ==> NivoSliderPlugin.cs  


  /// <summary>
        /// Gets a configuration page URL
        /// </summary>
        public override string GetConfigurationPageUrl()
        {
            return _webHelper.GetStoreLocation() + "Admin/WidgetsNivoSlider/Configure";  // put YourControllerName
        }



Then controller ==>

[Area(AreaNames.Admin)]
    public class WidgetsNivoSliderController : BasePluginController  //YourControllerName
    {
}


Here is the example of Nivoslider plugin 4.00 But you have to this two thing in you plugin too.

1.  public override string GetConfigurationPageUrl()
        {
            return _webHelper.GetStoreLocation() + "Admin/YourControllerName/Configure";
        }
2. [Area(AreaNames.Admin)] put on controller
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.