Close

Profile: Boyko

Avatar

User posts

13 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

Bugs
13 years ago

ylechasseur wrote:
Hi Guys,

I did check this file and i didnèt find any doubles entries. It is pretty bizarre, I was working on the Very MegaMenu that you have done :-) and I decided to update all the plugins and core in my test site. So I copied over and then I had this error message. I came back on the backup, tried again with only Core + megamenu and once again ..
...

I am just wondering what could cause this but it wasn't major with the backup ..

Thanks guy for your help again

Merci

Yves


Hi Yves,

It is really strange. We have never faced this problem but we suspect something hadn't been properly updated. Although by looking at the error it says the plugin is already loaded. Maybe you have it twice in your Plugins folder or in any of the other folders inside the Plugins folder as nopCommerce looks in the inner folders too.
It is good that you have managed to have this working without this error but it is a pity you have had to do everything from scratch.

Best Regards,
Nop-Templates Support Team

camperserv wrote:
I've implemented NOP Anywhere Sliders on NOP 2.6.  Everything works great EXCEPT in IE9, which hides the flyout shopping cart behind the Slider that I've placed in the content_before area.  I'm using a modified theme, but the same thing happens with the Dark Orange theme.  Chrome and Firefox are fine, it's just IE that's a problem.  Can you advise on how to resolve this?  (see www.shop.camperserv.com to see the problem)

Thanks


Hi camperserv,

We tested on your web site and our demo site with IE9 and we couldn't reproduce this problem.
Could you please check if you are running your IE with Compatibility Mode?
Please note that older IE browsers i.e IE6 and IE7 don't support z-index.

Thanks

13 years ago

pdesignz wrote:
What about the dropping of the content, will this end once I purchase the full plugin or is it only when running the trial version.

Thanks


Hi pdesignz,

No trial messages and no dropping of the content.
It will be running just like on our demo web site.
http://demos.nop-templates.com/

Thanks

13 years ago

pdesignz wrote:
I am currently running a trial version of the Nop Commerce plugins and I have found at times that when the ajax filter displays this message, You are running a Trial version of SevenSpikes.Nop.AjaxFilters that my main content drops all the way to the bottom of the page. If I refresh the page then the layout returns to normal, but when that message displays again then my content again is shown at the bottom of the page. Is this due to currently running the trial version during development and will this happen when I purchase the plugins. I was planning on purchasing the multiple domain version and don't want this to happen when I have the actual live plugins...


Hi pdesignz,

These messages are shown ONLY when you are running the Trial versions of the plugins.

Best Regards,
Nop-Templates Support Team

Bugs
13 years ago

ylechasseur wrote:
Hi guys,

I don't know if it is a bug or a mistake I did. But I have this error message form IIS when I am lunching the web site

A plugin with 'SevenSpikes.Core' system name is already defined
...
for VisualStudio I can't open the web site in debug mode but is is working nice with UltilDev web server.. I wondering what it could be

best regards

Yves


Hi Yves,

Could you please double check your App_Data\InstalledPlugins.txt file and make sure you don't have the SevenSpikes.Core plugin added more than once.

Thanks

Bugs
13 years ago

cHiEsA wrote:
Hi guys,

It's possible to translate the name of the plugins?
I've translated entire NopCommerce and NopElectronics Theme, but in the dashboard, in plugins section, i can't translate the name of the plugins and their submenus names :(


Hi cHiEsA,

The names of the menus of the plugins could not be translated as they actually shouldn't be translated i.e Nop Mega Menu shuold always be Nop Mega Menu.
Probably it is a good idea to make the inner menus to be in separate resources, so that they could be translated i.e Setting, Manage Sliders etc.
What is the language in which you have translated the plugins?
As it would be great if you can share the translation with the other guys in the forum, so that they can use them too.

Many thanks!
Nop-Templates Support Team

k_basil wrote:
Hi i'm just new to nop commerce and i just download the trial version of JCarousel control to test it. When i'm going to add a JCarousel for related products in product page the only option for the widget i have is "Content Before". Is there any other way or i have some limitations from the trial version.

Thank you in advance.



Hi k_basil,

That is quite strange as there are not limitations in the trial versions.
You should be able to see all available widget zones. There should be a few product page specific widget zones i.e product_details_top, product_details_bottom etc.
They will best suit your needs depending on your page layout. We usually place the related products at the bottom of the page.
You can also add your custom widget zones as well.
Please refer to the documentation to see how to do this in point 3. Adding a custom widget.
http://www.nop-templates.com/Help/NopJCarousel/Version_2_6/lessons/Integration.html

Hope this helps!

Best Regards,
Nop-Tempaltes Support Team

13 years ago

rubenc wrote:
Is this theme multi-language?


Hi rubenc,

Yes, all our themes are multi-language, which means that they support more than a single language. Please note that you need to do some of the resource translations although 99% of the resources are from nopCommerce and there are language packs available for a lot of languages. There are a few new resources that needs to be translated that are specific to the theme.

Hope this helps!

Best Regards,
Nop-Tempaltes Support Team

Bugs
13 years ago

panafoto wrote:
please, I need to know how I can download the free trial of this theme, thanks


Hi panafoto,

There are no free trials of the themes. There are free trials only for the plugins.
We can't make a free trial of the themes as a theme consists of .cshtml, .css and image files, which we can't protect.
Please don't duplicate the same posts in the other topics as all the themes don't have free trials and it is not just the Shop All theme.

Thanks,
Nop-Templates Support Team