Close

Profile: maxkomarov

Avatar

User posts

Bugs
7 years ago

Following error messages appears in event log after Plugins/Nop Quick Tabs/Manage Products and Tabs called:

A public action method 'ProductReviewsTabAddNew' was not found on controller 'SevenSpikes.Nop.Plugins.NopQuickTabs.Controllers.ProductTabController'.

Complete message:  System.Web.HttpException (0x80004005): A public action method 'ProductReviewsTabAddNew' was not found on controller 'SevenSpikes.Nop.Plugins.NopQuickTabs.Controllers.ProductTabController'. at System.Web.Mvc.Controller.HandleUnknownAction(String actionName) at System.Web.Mvc.Controller.ExecuteCore() at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) at System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext requestContext) at System.Web.Mvc.MvcHandler.<>c__DisplayClass6.<>c__DisplayClassb.<BeginProcessRequest>b__5() at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass1.<MakeVoidDelegate>b__0() at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult _) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End() at System.Web.Mvc.MvcHandler.<>c__DisplayClasse.<EndProcessRequest>b__d() at System.Web.Mvc.SecurityUtil.<GetCallInAppTrustThunk>b__0(Action f) at System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust(Action action) at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)  

?

I have two customs tabs for my products: model description tab and prototype description tab. But I need to have possibility to display content of these tabs outside of product container using your catgorized header menu for navigation and topics as targets for menu items.
Please help.

Thank you,

[quote=Support
Simply change the code on line 183 in _ProductTabs.cshtml file like this:

@if (Model.Settings.EnableProductFullDescriptionTab && !String.IsNullOrEmpty(Model.Description))
[/quote]

It is work. Thank you!

7 years ago

Support wrote:
The easiest way to do this is when Ajax is not enabled.
Open Views\ProductTab\_ProductTabs.cshtml file in Visual Studio or some text editor. Cut the code from line 203-207 (see the code below) and paste it on line 183 just after the opening <li> tag and before the product description tab check.

@foreach (var tab in Model.Tabs)
{
  divs.Add(new KeyValuePair<string, string>("tabs-" + tab.Id.ToString(), tab.Description));
<li><a href="#tabs-@tab.Id">@tab.DisplayName</a> </li>                
}



It's work fine.
Thank you

7 years ago

It's possible?
I need display default Tabs (description, specification and reviews) after custom Tabs.
Thank you