Close

Profile: Boyko

Avatar

User posts

Hi guys,

Here is some useful information that we found out on this specific problem.

When you change the Display Order of the Widgets from Content Management -> Widgets then you actually modify the Display Order in the Description.txt file of the given widget plugin.
This is also valid if you change the Display Order on the Configuration -> Plugins page.
For all our plugins to work we require the Core plugin to be loaded first and for this we use the DisplayOrder of the plugin as this is how nopCommerce loads the plugins in a specific order.
Our Core plugin had Display Order of 0 and all our plugins have Diplay Order of 1. So if you change the Display Order of any of our plugins to be also 0 then you will get this error. We just changed the Display Order of the Core plugin to be -1 as it is not a common practice to set a negative display order for a plugin.

Many thanks to e-squawk for letting us remote to his machine and figure out what the problem was!

Best Regards,
Nop-Templates Support Team

Bugs
11 years ago

[email protected] wrote:
I am getting this error with the most recent _producttabs file

Error
The log entry message.Short message:   A public action method 'ProductReviewsTabAddNew' was not found on controller 'SevenSpikes.Nop.Plugins.NopQuickTabs.Controllers.ProductTabController'.
The details for the log entry.Full 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)
IP address of the machine that caused the exception.IP address:   **********
Name of the customer who caused the exception.Customer:   Guest
Originating page of exception.Page URL:   http://happycoral.com/producttab/productreviewstabaddnew/3858


Hi [email protected],

It looks like you haven't updated the Tabs properly as there is a new ProductTabs.js file that is missing on your server. The Tabs logic is now extracted into a separate js file to prevent Google Bots from parsing it and trying to open the ajax urls that should not be accessed by the Bots. You can download the package again and replace the whole Tabs plugin folder and then simply add your css file back as I can see that you have a custom JQuery UI theme.

By the way you can update the Core plugin folder as well as we have added a new much lighter version of the Kendo UI javascript that is 5 times smaller that the previous one. This will greatly improve the initial load of your pages.

Hope this helps!

Best Regards,
Nop-Templates Support Team

11 years ago

[email protected] wrote:
How and can we filter for stock quantities?

Check http://www.happycoral.com/c/62/fish


Hi [email protected],

The current version of the Filters does not allow filtering for stock quantities.
Maybe you can vote for this idea that basically says that the Filters shouldn't show items that are out of stock by default.
Please see this idea or you can post a new one if you want.

Best Regards,
Nop-Templates Support Team

e-squawk wrote:
Hi

I am using the source release 2.65 downloaded from the nopcommerce website only last week. My application was working fine for a few days until I tried to access the Ajax plugin filter settings from the admin panel.

Thanks

Liam


Hi Liam,

We sent you an email asking for the FTP and login credentials, so that we can take a look.

Thanks

e-squawk wrote:
Still unable to resolve this error

Ive checked the installed plugins .txt file and all of the plugins are listed as installed.

Ive copied the core, framework and services dlls to the root of filters plugin folder as suggested as a workaround in another post.

Im still unable to launch my application from visual studio, this code (line 145 in the PluginManager.cs seems to be the cause of the error.

//init plugin type (only one plugin per assmbly is allowed)
foreach (var t in pluginDescriptor.ReferencedAssembly.GetTypes())
if (typeof(IPlugin).IsAssignableFrom(t))
if (!t.IsInterface)


Hi Liam,

Which version of nopCommerce do you use?
You should be using the official 2.65 release.

pdesignz wrote:
I am planning on purchasing the Ultimate Plugin extension and I have been using the trial for about a week now. Is it possible to go from the trial to the full version and still retain all the changes and modifications that I made while I was using the trial version. I am trying to avoid having to make the changes again if I have to overwrite all the files that are currently there with the trial version vs the full version.

Thanks


Hi pdesignz,

You can keep all your changes when moving from trial to paid version. There are instructions how to do this in the package of the paid version.

Thanks

11 years ago

embryo wrote:

OK. But I still do not understand completely.

I do now understand that fetching data from the database as the megamenu topic page is loading isn't possible, but I do not understand why having client-side scripting, like javascript, embedded in my topic content wouldn't render and function. Is it just a problem with the encoding?

I'm sorry if I seem obtuse, but I've been programming with ASP for about 14 years and rarely ever find a coding obstacle that cannot be worked-around. I guess I assumed .NET was gonna be even more flexible.

Steve


Hi Steve,

To be honest I have't tried adding javascript code into a topic as I have't never needed to something like this. I am just saying that it doesn't seem as a good practice to me. There is a button in the Html editor in the administration that allows you to edit the plain Html , so you can give it a try and see if this would work for you.

Thanks

11 years ago

pdesignz wrote:
If I comment out the description on the page, @Html.Raw(Model.FullDescription)I can then get it to work, but not sure if this is the correct method to get this to work or not.


Hi pdesignz,

This is the right thing to do. Leave the Overview tab of the Quick Tabs and remove the full description from the product page, so that you don't have duplicated content.
You can use the Automatic Integration folders of the plugins as a reference how we have done this for the DarkOrange and nopClassic themes.

Hope this helps!

Thanks

11 years ago

pdesignz wrote:
By default the Instant Search displays 5 results, I can increase this of course. If I have more than 5 products and don't necessarily want to increase the #, so I make sure that every item is listed, is it possible to have a link that would show more results. If this can be done, how could I go about doing this.

Thanks


Hi pdesignz,

This is not possible with the current version of the Instant Search plugin.
You can propose it in our UserVoice portal.

Best Regards,
Nop-Templates Support Team

11 years ago

embryo wrote:
Hello-

I'm trying to add a tag cloud to my topic content, but not having any luck.

While editing my content topic in the admin area, I'm just including the following line of code in the table cell where I want the tag cloud to appear:

@Html.Action("PopularProductTags", "Catalog")



Is there something preventing razor syntax from executing when it's dynamically retrieved from a database column? Or do I just need to reference some other assembly from the TopicBlock.cshtml or MegaMenu.cshtml views? If so, which one, and how/where?

Thanks for your assistance!

Steve



Hi Steve,

You can not add
@Html.Action("PopularProductTags", "Catalog")

in a topic content, because it is not compiled in razor. If you want to add a tag cloud to the Mega Menu, you need to open the MegaMenu.cshtml view that is located in /Plugins/SevenSpikes.Nop.Plugins.MegaMenu/Views/MegaMenu/.
Once you have opened the view add the following code, on the place where you want the menu to appear:

<li>
<a href="#">@T("Products.Tags.Popular")</a>
@Html.Action("PopularProductTags", "Catalog");
</li>


Have a great day!

Ivan Stoyanov

Hmmm....

That's not quite what I had in mind..I do not want the tag cloud to be a menu item on my megamenu. Rather, I want it as part of the content on my topic page. Is there really no way around this hurdle?

What about this??

Is it possible for me to just create an HTML form with a select field storing all the popular tags as options, and use javascript to change the location (URL) based on the user's selection. This would also need to be inside the content of my topic page. Can javascript be included within a topic page?

If so, and because my site is on IIS, can I also use inline ASP/VBScript in the topic page content to retrieve a recordset of the popular tags and iterate them within my select field?

This will allow me to configure "symptoms" and "conditions" as tags and associate each of my products with the conditions they are useful for treating, or the symptoms that the products help to alleviate.


Thanks,
Steve


Hi Steve,

As Ivan already explained there is no way to add dynamic content within a topic. Topics are stored in the database as a plain text and then they are retrieved from the database when required. They are not compiled at runtime as the Razor views (.cshtml) file. So simply put there is no way around this.
Mixing topic content with some dynamic content could not be achieved without some hacky javascript exercises, which I wouldn't recommend.

Best Regards,
Nop-Templates Support Team