Close

Profile: Deni

Avatar

User posts

ssikora wrote:
Thank you, that got it to display again. However, it is displaying as a drop-down menu item and I would like it to be just a link as it was originally. Any thoughts? Thanks.


Hi, 

Yes, just replace the old code with this one: 

<li><a href="@Url.RouteUrl("Topic", new {SeName = "AboutUs"})" title="@T("aboutus")">@T("aboutus")</a></li>

10 years ago

rjmart wrote:
Hi, how to remove picture from tab

here is my website

https://www.rj-mart.com/id/steelseries-9h-fnatic-edition

I want the tab is like this
http://demos.nop-templates.com/hp-probook

Thanks


Hi, 

To move the product picture out of the Quick Tabs, you have to follow these steps:

1. Go to All Settings and search for this setting: "tabsettings.enableproductpicturetab". Make its value to be "False" (if it is not).

2. Go to the theme administration and check this setting: "Alternative Product Page Layout".

That is all. I hope it helped!

10 years ago

dteglander wrote:
Hi, can you please update the 3.40 version as well?

Thanks


Hi, 

Sorry for the delay. We had merged the settings in v3.40 and they are ready for download. Just update your plugin to get the new features.

10 years ago

kaka135 wrote:
Thank you very much, but can I have it both in the homepage and also a separate page for All Shops page?

The requirements of my project include:
1) Having the Google Map and search function in Home Page.
2) Having another page to search for the shops.

Thank you for your advice.

regards,
Lee Ka


Hi, 

Yes, I thought you would like to have both functionalities. Unfortunately, at the moment the plugin does not have integration on the home page. You can suggest it in our user voice portal. I think we can plan it for development soon. I am not sure about one thing - the search functionality on the home page - I think its place is not there - just the map with the shops on it. Anyway - suggest it in the User Voice so other users can vote for it.

10 years ago

kaka135 wrote:
Hi again,

Can I have the Google Map (with search) and Shop List in the home page? 

I have copied the codes in AllShops.cshtml to another controller, then added to the Home page, but I got the following error:

An exception of type 'System.Web.HttpException' occurred in System.Web.dll but was not handled in user code

Additional information: Error executing child request for handler 'System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerAsyncWrapper'.


Is there anything I've missed out? 

Please advise. Thank you.


Hi, 

You can achieve this functionality, by using the AllShops page, but you will lose it as a separate page - just change the code of the AllShops.cshtml view with the code I will give you. This should be done, because we remove the Layout of the page - otherwise it will show the header and all other stuff twice. Next, call the action somewhere on the page - for example above the footer - go to the /Views/Common/Footer.cshtml file and before this row: 
<div class="footer">

Place this code: 
@Html.Action("AllShops", "StoreLocator")


This is all. Here is the code for the AllShops.cshtml file (I have copied only the top part of the code, the rest stays the same):


@** Copyright 2015 Seven Spikes Ltd. All rights reserved. (http://www.nop-templates.com)
    * http://www.nop-templates.com/t/licensinginfo
*@

@using Nop.Core
@using Nop.Core.Infrastructure
@using Nop.Web.Extensions
@using SevenSpikes.Nop.Plugins.StoreLocator

@model SevenSpikes.Nop.Plugins.StoreLocator.Models.StoreLocatorModel
@{
    Layout = "";
    var supportRtl = this.ShouldUseRtlTheme();

    Html.AddCssFileParts("~/Plugins/SevenSpikes.Nop.Plugins.StoreLocator/Themes/" + Model.Theme + "/Content/StoreLocator.css");
    if (supportRtl)
    {
        Html.AddCssFileParts("~/Plugins/SevenSpikes.Nop.Plugins.StoreLocator/Themes/" + Model.Theme + "/Content/StoreLocator.rtl.css");
    }

    Html.AddScriptParts("~/Plugins/SevenSpikes.Core/Scripts/SevenSpikesExtensions.js");
    Html.AddScriptParts("~/Plugins/SevenSpikes.Nop.Plugins.StoreLocator/Scripts/StoreLocatorAllShops.min.js");
}

<div class="all-shops-page" style="clear: both;">

10 years ago

Hi, 

Yes, that is the way it should be. It looks perfect!

10 years ago

DJ_Balogh wrote:
I followed your instructions exactly. Even if I remove all CSS styling it still occurs. There must be something else going on in our design that is causing this.


Hi, 

Maybe it is something in your CSS, because I have tested this on our demo and it is working flawlessly. Maybe if you provide link to your site I will show you what you are missing (if you do not want to expose your site here, you can submit a ticket in our ticketing system).

10 years ago

DJ_Balogh wrote:
I'm having one issue. The search box is in the perfect location, but if I re-size my screen small to where the search box would disappear and then back to full screen, the location of the box moves up a good 50px from where it originally was and actually goes behind the header.

Any help on why it's doing this?



Hi, 

If you have followed my steps strictly, you should not experience this behaviour. Please double-check that you have edited the rules inside the 980.css file. Also you can check via the browser what styles are applied to the search box at desktop resolution.

10 years ago

DJ_Balogh wrote:
What's the process for moving the search back into the header?

The code for the search box is in the Header.cshtml file but I can't seem to figure out how to get it into the actual header on the page.

Any help is appreciated.


Hi, 

You can achieve this by following these steps:

1. Go to this file: \Themes\Nitro\Content\scripts\Nitro.js and find this row:

searchBoxBefore: ".page-title span, .page-title h1",

Edit it to be like this:

searchBoxBefore: ".header-links-wrapper",

2. Now it should need a little positioning styling, so go to this file: \Themes\Nitro\Content\css\980.css and find the rule:

.search-box {
    ...
}

Edit it like this: 

.search-box {
  font-size: 0;
  position: absolute;
  top: 45px;
  left: 36%;
}

3. In the same file find this rule:

.header-selectors-wrapper {
   ...
}

and make it:

.header-selectors-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  padding: 10px 0;
  text-align: center;
}

That is all you need. I hope everything is clear.

10 years ago

dteglander wrote:
Hi, can you please update the 3.40 version as well?

Thanks


Hi, 

We will plan this work with priority for the next week. We will let you know when it is done.