Close

Profile: alextretij

Avatar

User posts

How to repeat this bug?

1. Create the new plugin, ex.  FoxNetSoft.Plugin.Misc.AAAA (not your plugin!!! and the name from letter A)
2. Enable IAdminMenuPlugin and add SiteMenu
3. Restart your site.
4. Open Nop JCarousel - Settings.




in Menu7Spikes.cshtml
new code

    var adminMenuPlugins = EngineContext.Current.Resolve<Nop.Core.Plugins.IPluginFinder>()
        .GetPlugins<IAdminMenuPlugin>()
        .Where(x => x.Authenticate() && x.PluginDescriptor.SystemName.Contains("SevenSpikes"))
        .ToList();


old code

    var adminMenuPlugins = EngineContext.Current.Resolve<Nop.Core.Plugins.IPluginFinder>()
        .GetPlugins<IAdminMenuPlugin>()
        .Where(x => x.Authenticate())
        .ToList();


Error message
Object reference not set to an instance of an object. 


System.NullReferenceException: Object reference not set to an instance of an object. at ASP._Page_Plugins_SevenSpikes_Core_Views_Shared_Menu7Spikes_cshtml.Execute() in d:\Root\Nop3301\Plugins\SevenSpikes.Core\Views\Shared\Menu7Spikes.cshtml:line 57 at System.Web.WebPages.WebPageBase.ExecutePageHierarchy() at System.Web.Mvc.WebViewPage.ExecutePageHierarchy() at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) at ASP._Page_Plugins_SevenSpikes_Core_Views_Shared__AdminLayout7Spikes_cshtml.Execute() in d:\Root\Nop3301\Plugins\SevenSpikes.Core\Views\Shared\_AdminLayout7Spikes.cshtml:line 11 at System.Web.WebPages.WebPageBase.ExecutePageHierarchy() at System.Web.Mvc.WebViewPage.ExecutePageHierarchy() at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) at System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body) at System.Web.WebPages.WebPageBase.PopContext() at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) at 

Bug in IE7
11 years ago

In NivoSlider.cshtml

You must delete comma after randomStart: false.

Your code

                 pauseOnHover: @Model.Settings.PauseOnHover.ToString().ToLower(), // Stop animation while hovering
                manualAdvance: false, // Force manual transitions
                prevText: '@Model.Settings.PrevText', // Prev directionNav text
                nextText: '@Model.Settings.NextText', // Next directionNav text
                randomStart: false, // Start on a random slide
            });
        });            
    </script>

in IE7 is not working

Change code such
                 pauseOnHover: @Model.Settings.PauseOnHover.ToString().ToLower(), // Stop animation while hovering
                manualAdvance: false, // Force manual transitions
                prevText: '@Model.Settings.PrevText', // Prev directionNav text
                nextText: '@Model.Settings.NextText', // Next directionNav text
                randomStart: false // Start on a random slide  Del Comma
            });
        });            
    </script>

Bugs
12 years ago

nop 2.6
can't install "Automatic Integration".
"Enable Automatic Integration checkbox" not work.


I used a "Manual Integration". It's working.
I Wrote @Html.Action("InstantSearch", "InstantSearch").

Maybe problem in "SearchBox.cshtml". it is different on photo.
http://www.nop-templates.com/Help/NopInstantSearch/Version_2_6/lessons/Integration.html