Close

Profile: Boyko

Avatar

User posts

11 years ago

toanhnt wrote:
hi,

to make the homepage image smaller, I have to modify the style.css file right? Can you point me the exact location of the code? thanks


Hi toanhnt,

Could you specify which home page image you want to make smaller?
There are many images on the home page - Sliders, Featured products, Carousels etc.
If you are talking about the hope page featured products then do you want to make only the images smaller or the whole product boxes?

Thanks

Hi David,

It is perfectly fine to have more than one nopCommerce theme on the same instance of nopCommerce during development. Actually this is how we develop our themes locally. We have all of them installed and just switch between them but we still haven't seen a real production store that allows theme selection.

Thanks

david.hirst wrote:
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 David,

The Fashion theme plugin is required to manage the settings used by the Fashion theme. Since you have cloned the Fashion theme views (.cshtml) files then your new theme uses the same settings as the original Fashion theme. And having in mind that all settings in nopCommerce are shared between all themes this means that changing a setting via the plugin will apply in all themes that use it. In summary it is not a good idea to have multiple themes running at the same instance of nopCommerce as all the settings are shared as you are having a single database. I don't know why you want to run two themes on the same instance of nopCommerce but we wouldn't recommend doing this in production web site unless you are running Multiple web sites (Multi store) and be able to set a given setting per store.

I hope all these make sense.

Thanks

david.hirst wrote:
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.


Hi David,

When you copied the Fashion theme into a new theme i.e FashionNew did you also made a copy of the Fashion theme folders into the plugins. Please note that each of our plugins is themeable, which means that it has a folder Themes that contains the styles, the additional widget zone and the views for the plugin specific for each theme. So if you have a clone of the Fashion theme then you basically need to clone the Themes\Fashion folders in our plugins as well.

Hope this helps!

11 years ago

atzmonca wrote:
hi,
i want to show on my slider flash(swf file) file instead image files(gif,jpg)
now i get error on uploading the swf file, how can i fix that?


Hi atzmonca,

The Sliders can slide only images and you can't add anything else. Even if you could upload a swf file then the Sliders wouldn't work as they render <img> tags in the html.
If you have some flash objects then you can simply remove the Sliders and add your flash object instead. This way you Flash will be shown instead of the Sliders but you can't combine them together. Please refer to this blog post of how to add flash into nopCommerce.
You can use the HomePageText topic to show the flash on the Home page.

Hope this helps!

mrbombay wrote:
Hi Nop-Templates,

I'm using version 2.8 and did an update trough nuget on TelerikMVCExtensions. When i try to load my homepage with a slider i'm getting this error:

Kan bestand of assembly Telerik.Web.Mvc, Version=2012.2.607.340, Culture=neutral, PublicKeyToken=29ac1a93ec063d92 of een van de afhankelijkheden hiervan niet laden. De manifestdefinitie van de gevonden assembly komt niet overeen met de assembly-verwijzing. (Uitzondering van HRESULT: 0x80131040)

Kan een of meer van de gevraagde typen niet laden. Haal de LoaderExceptions-eigenschap op voor meer informatie.


Is there a way to correct this?


Hi mrbombay,

You get this error because the Sliders plugin is built with the version of Telerik.Web.MVC that comes with nopCommerce 2.8, which is Version=2012.2.607.340.
By the way, we would like to remind you that your 1 year license of the Nop Ultimate Plugin Collection has expired - Support valid until: 3/14/2013. You can still use the product without any problems but we do recommend you to renew your license and continue to receive product updates and support. Please refer to our Licensing FAQs for more information.

Thanks

11 years ago

toanhnt wrote:
Hello,

thank you for your quick response!! another question: I noticed that you set 2 products per row on the homepage. Can you make 3 products per row instead of 2?
thanks


Hi toanhnt,

The number of products is always 2 in this theme by design and it is so because of the layout of the theme, which is a 3 column layout. Actually there is no enough space in the middle to fit 3 product boxes. Of course this could be changed but you need to make changes in the styling of the theme i.e changing the width of the product boxes, so that 3 boxes can fit in the middle column.

We have some good news for you as we just released the DarkOrange and nopClassic themes for nopCommerce 3.0. You can just download the theme package from your My Downloads section.

Thanks

11 years ago

shayt wrote:
Hi,

i am using several plugins (Nop Ultimate Plugin Collection),
and my custom CSS is getting loaded BEFORE the plugin's CSS,
so when i want to overwrite some things, i need to put " !important " in my CSS which is not a very good practice.

can i have my custom CSS loaded after the plugin's CSS ??

i want to be clear, i am NOT talking about nop default "styles.rtl.css",
i am talking about PLUGIN css.

Thanks,
Shay


Hi Shay,

Yes, it is not a good practice to use !important. Basically you want to separate your changes to the css of plugins from the Ultimate Plugin Collection and to do this in the best possible manner.
There are two options here:
1. Have a separate custom.pluginname.css file i.e custom.ajaxcart.css and include this css in the view(.cshtml) file of the plugin. This approach will be working but is not the best one as you will need to go through all the plugins and modify their views and also add new files for each plugin.
2. The better approach here is to have a styles.custom.plugins.css file that is included LAST. This way any definitions in it will override the styling in the plugins and all you need to do is to include a single file (for better performance). Here is how to do this:
- Go to your theme folder i.e DefaultClean and add a new file in the Content folder styles.custom.plugins.css
- Include this file to be last by modifying the _Root.Head.cshtml file as shown below (just add the line in bold).

@Html.NopCssFiles(this.Url, ResourceLocation.Head)
    <link type="text/css" rel="Stylesheet" href="@Url.Content("~/Themes/DefaultClean/Content/styles.custom.plugins.css")" />
    @Html.NopScripts(this.Url, ResourceLocation.Head)


Now you can easily override any css definitions without the need to add !important and at the same time have all your style changes separated in a file, which will make your future upgrades a breeze.

Hope this helps!

firthy wrote:
Using 3.0 when i go to settings for the plugin.

http://localhost/admin/CategoriesHeaderMenuAdmin/Settings

I get the following error:

[PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.]

Also when i try to deploy the project using the batch file i get:

Build FAILED.

       "C:\Users\Tangent\Documents\Visual Studio 2008\WebSites\selectalsico\nopCommerce_3.00_Source\build\nop.proj" (default target) (1) ->
       "C:\Users\Tangent\Documents\Visual Studio 2008\WebSites\selectalsico\nopCommerce_3.00_Source\NopCommerce.sln" (default target) (2) ->
       "C:\Users\Tangent\Documents\Visual Studio 2008\WebSites\selectalsico\nopCommerce_3.00_Source\Tests\Nop.Web.MVC.Tests\Nop.Web.MVC.Tests.csproj" (default target) (16) ->
       (_CopyOutOfDateSourceItemsToOutputDirectoryAlways target) ->
         C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(3686,5): error MSB3021: Unable to copy file "C:\Users\Tangent\Documents\Visual Studio 2008\WebSites\selectalsico\nopCommerce_3.00_Source\Presentation\Nop.Web\Plugins\SevenSpikes.Nop.Plugins.CategoriesHeaderMenu\Views\CategoriesHeaderMenu\CategoriesHeaderMenu.cshtml" to "bin\Release\Plugins\SevenSpikes.Nop.Plugins.CategoriesHeaderMenu\Views\CategoriesHeaderMenu\CategoriesHeaderMenu.cshtml". The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

    0 Warning(s)
    2 Error(s)


Hi firthy,

Please specify another location for the Visual Studio project as otherwise the file location is too long. The path should be less than 255 characters. Simply change the "C:\Users\Tangent\Documents\Visual Studio 2008\WebSites\selectalsico" to be "C:\nopCommerce".

Thanks

11 years ago

rscott78 wrote:
Great plugin - I'd love to have a reminder that let's me send a reward point reminder to my users.

For example, I might set it up to send out a monthly email saying "Hey So & So, don't forget you've got 300 points worth $15 to use on the store."


Hi rscott78,

That's a very good idea. Would you mind sharing it in our UserVoice portal and let other users vote for it.

Thanks