Close

Profile: david.hirst

Avatar

User posts

9 years ago

Oops, yes, my mistake. Your version works!

Thanks again.

9 years ago

Hi,

Thanks for that. I'm now running NOPC v3_60 having updated from v3_50 yesterday.
I tried updating the code manually as you suggested but got the error "Compiler Error Message: CS1061: 'SevenSpikes.Nop.Plugins.Attachments.Models.AttachmentPublicModel' does not contain a definition for 'ImageName' and no extension method 'ImageName' accepting a first argument of type 'SevenSpikes.Nop.Plugins.Attachments.Models.AttachmentPublicModel' could be found (are you missing a using directive or an assembly reference?)" so have instead edited in a fixed string for now as you showed me where to do it. I will await the full plugin upgrade which I expect will sort this out.

Thanks.

9 years ago

The image which you can specify to be displayed beside the attachment link on the public website creates an html img tag where the img src value is also specified for the alt text tag. This is a bit peculiar as it should really be alternate text to describe the image and not a URL! The plugin doesn't appear to have a specific alt txt field where you can specify it. If the plugin has to make something up it would be better to either use an empty string or base it on the name of the attachment rather than the URL of the image. 

e.g. for one of my attachments this is the code generated:

<img src="https://www.mysite.com/store/content/images/thumbs/0009249.png" alt="https://www.mysite.com/store/content/images/thumbs/0009249.png">

Many thanks for the suggestion, My brain hadn't spotted the Widget Zones tab despite spending several hours trying to get the thing working! (I suspect because it is three clicks away from the default widget zone setting) In my case there was a specific zone set on this tab which I didn't recall setting and on further testing it appears that "productdetails_bottom" is set by default when a new attachment is created. It also looks like the "Default Widget Zone" setting is ignored completely as if nothing is specified in the specific "Widget Zones" tab the attachments aren't displayed at all - I would expect them to use the default widget zone.

I have installed the current trial edition of Nop Attachments plugin for nopCommerce v3.50. I have also updated all the other Nop-templates plugins to latest version code as of today. My aim was to display the attachments in a tab of the quick tabs plugin which I already have a full version of, but whatever I set the "Default Widget Zone" to, the attachments panel is always displayed in the same place in the product details page (after <div class="product-essential"></div>). The attachments panel itself does appear to work okay in that I can upload and display attachments. Can anyone help identify what can be causing the problem I have?

Bugs
9 years ago

... so if there's a bug in version 3.20 plugin will you be fixing it as this is needed for version 3.20 nopcommerce?

Bugs
9 years ago

Hi,

I'm using Mega Menu within the Lighthouse template bundle for nopcommerce v3.20. I think the following is happening, in which case I think it is a bug, and from what I can see (or not see) it may be inside the dll? :
In the Nop Mega Menu settings, under section "Category Menu Settings" there is the option "Display only top level categories, which are marked as Show on home page". However, the "Show on home page" option on a category is used to define things like whether to show this category if featured categories are used on the home page. I believe the plugin should be using the "Include in top menu" category option? This is what should define whether the category appears in the top menu and therefore mega menu? I'm guessing you are using the wrong logic and it is causing me a problem because I need to control which categories appear in the mega menu and what goes into the featured categories independently.
I also just took a quick look at Mega Menu as used in a nopcommerce v3.40 template and I cannot even see this setting! Please tell me I will be able to still use this functionality as the v3.20 site will need upgrading to v3.40 or more likely 3.50 soon ...

Thanks for the further info. I'm just trying to evaluate what would be the best method for me to support multiple websites from a development point-of-view. Having one master dev site with all the themes I've developed for various customers/sites in one instance (with custom theme names) seems a good idea to me as I only need a few sample products representative of the various types offered across all the themes and I can keep everything in one place and test an individual theme out simply by choosing from a drop-down! (i.e. no moving code around between projects to test). Also, if i need or wish to develop the core nopcommerce code it makes it easier (I imagine) to quickly check it out across all the themes I'm planning to support. From what you've explained to me I can pretty much do most of this now, but I'll need to keep myself aware of the fact that the fashion plugin is not tied to a specific theme (should I need to change any of the settings for a specific website). At this point in time I do not have any requirement for allowing any specific website instance to run a choice of themes, though this appears to be an option within nopcommerce (i.e. let the viewer/browser select a theme from a selection) and I could imagine at some point I might want to do this. Right now, I'm happy just understanding what the options/compromises are.

Thanks for the reply, that made sense and following the advice, things are looking much better now.

Curiously, there's a "SevenSpikes.Theme.Fashion" plugin. There are various settings and configurations for the plugin via the control panel as well as many more settings in the two xml files it uses. How does this plugin relate to using clones of the Fashion theme? Does it need cloning itself somehow (indeed can it be?) to work only on a cloned Fashion theme or will whatever it does be applied to all cloned themes anyway as appears to be the case? I ask because I tried changing one of the settings in the control panel (plugins/nop fashion theme/settings - remove copyright) and it affected my newly named cloned theme. I hope you understand what I'm asking!

Hi, I am using the Fashion theme and have the multi-site licence. I developed my first website by leaving the theme with the name "Fashion" and tweaked its files as necessary as the site only required to run the one theme variation. All was OK. I now want to develop new theme variations and tried copying the theme as detailed in the nopcommerce documentation to create a new theme with a new name. Whilst the new theme runs, it looks like it probably isn't running the nop-templates plugins. Do you have instructions how to successfully clone and run the Fashion theme by another name?

Thanks.