Close

Profile: IvanStoyanov

Avatar

User posts

12 years ago

LesMc wrote:
I see how to arrange the tab order for custom tabs, but is there a way to re-order the default tabs too? I want my custom tabs to the left of the default tabs.


Hi LesMc,

To display your custom tab on the left of the default tabs you need to open the _ProductTabs.cshtml view located in Plugins/SevenSpikes.Nop.Plugins.NopQuickTabs/Views/ProductTab.
Go to line 198 and find the following code:
 @foreach (var tab in Model.Tabs)
                {
                    divs.Add(new KeyValuePair<string, string>("tabs-" + tab.Id.ToString(), tab.Description));
                    <li><a href="#[email protected]">@tab.DisplayName</a> </li>                
                }


Cut it and paste it after the  
<ul>
ul on line 174.

NOTE: This will work only when the Enable Ajax setting for the tabs is not checked.

Ivan Stoyanov

12 years ago

fermium wrote:
Hi,
When i try to have 2 Jcarousels on the same page only one will work and the other dosen't rended correctly. Does anyone seem to have a fix for this? i'm using the version for nop 2.7
Thanks


Hi fermium,

Can you give us a link to your website so that we can investigate the issue.
The JCarousel plugin is created so that many JCarousels can be displayed on one page even one JCarousel can be displayed many times on one page.

Ivan Stoyanov

Bugs
12 years ago

LesMc wrote:
I am running nopCommerce 2.7. On 1/6/2013 I downloaded a trail version of Nop Quick Tabs. I installed using the Manual approach.

Tabs work fine in the UI, but I get an error from the screen:
Admin / Plugins / Nop Quick Tabs / Manage Products and Tabs. In the resulting table of products, when I click the "Edit" link in the far right "Edit" column for any product, I get the following 404 error:

Server Error in '/' Application.

The resource cannot be found.

Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.

Requested URL: /Admin/ProductTabAdmin/Edit

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.17[/code]929


Hi LesMc,

Thank you for considering our products and reporting this problem. There was a problem with the "Edit" link, that we fixed. To apply the changes please go to our website, download the package and replace the Plugins\SevenSpikes.Nop.Plugins.NopQuickTabs folder with the folder in the package.

Thanks again and have a nice evening.

Ivan Stoyanov

12 years ago

shayt wrote:
Hi,

i want to change some CSHTML files,
so i copied them to my theme folder,
but i am getting errors when i try to change them.

the files i am trying to change -
_ProductReviews.cshtml
_ProductTabs.cshtml

and my theme name is a custom one.

the errors are -
_ProductReviews.cshtml :
Compilation Error, Compiler Error Message: CS0103: The name 'model' does not exist in the current context
line 5 : @model Nop.Web.Models.Catalog.ProductReviewsModel

_ProductTabs.cshtml :
Compilation Error, Compiler Error Message: CS0103: The name 'T' does not exist in the current context
line 38 : Line 38:     var couldNotLoadTabErrorMessage = T("SevenSpikes.NopQuickTabs.Client.Tabs.CouldNotLoadTabErrorMessage").ToString();


the problem is not in my changes, because the errors appears also if i don't change anything (just the files to the theme folder)



the folder i tried to put them is -
Plugins\SevenSpikes.Nop.Plugins.NopQuickTabs\Themes\BBooksTheme\Views\ProductTab


p.s. i already downloaded the last version of QuickTabs, and replaced the files

Thanks,
Shay


Hi Shay,

You need to copy the Web.config file from Plugins\SevenSpikes.Nop.Plugins.NopQuickTabs\Views\ and paste it to Plugins\SevenSpikes.Nop.Plugins.NopQuickTabs\Themes\BBooksTheme\Views\ folder.

Ivan Stoyanov

12 years ago

shayt wrote:
ok, that's might be good,
how can i insert the content from short description to my new custom tab ?


Hi Shay,

To add the content go to Plugins/SevenSpikes.Nop.Plugins.NopQuickTabs/Views/ProductTab/_ProductTabs.cshtml.
Open the view and go to line 203. Under the comment add the following code:
<li><a href="#tab-CustomTab">@T("CustomTab")</a> </li> 


After that go to line 216 and under the comment add the following code:

<div id="tab-CustomTab">
        @Model.ProductModel.ShortDescription
        </div>


Now you need to go to the Administration of your website Configuration=>Languages, click View string resources next to your language and click the Add new record button.
The Resource name property should be CustomTab and the value is the name of your tab in your language. After that click on the Insert button and you are ready.

Ivan Stoyanov

12 years ago

shayt wrote:
hi,
i hope you had fun...

here is my demo site -
http://dev.bbooks.co.il/%D7%97%D7%AA%D7%95%D7%A4%D7%99%D7%9C

The rightest tab is the review tab,
try to press "send"
and you will see that the tab is grayed a little, with no errors.

Thanks,
Shay


Hi Shay,

We have made some improvements on the Nop Quick Tabs plugin.  On your website there is a message over the "Submit review" button - "Only registered users can write reviews".
The it appears however that you have some problem with the javascript. Can you please update the Nop Quick Tabs plugin to the latest version. To do this go to our website and download the package. Copy the Themes folder from Plugins/SevenSpikes.Nop.Plugins.NopQuickTabs in order to save your changes for your theme. After that delete the Plugins/SevenSpikes.Nop.Plugins.NopQuickTabs  folder. And extract the plugin from the package that you have downloaded from our website. When the package is extracted replace the Themes folder with the Themes folder that you have copied.

Ivan Stoyanov

Language
12 years ago

xtsiliv wrote:
Hi !

I want to change the words: Overview, Specifications and Reviews
in product page  to my language (Greek)
Where can i search? in which file?
I cant find it!

Can you help me?
Thanks!


Hi xtsiliv,

This words are resources. You can change them by going to Configuration=>Languages. Click "View string resources" next to your language (in your case Greek). Search by resource string or value and change it.

Ivan Stoyanov

RTL header
12 years ago

shayt wrote:
hi,

i am talking about the quick tabs headers,
currently they are left to right (LTR),
and i want it to be in RTL.

it's probably should be fixed in the CSS,
but if you can tell me exactly what to change in the CSS for that.

here is my demo site -
http://dev.bbooks.co.il/%D7%97%D7%AA%D7%95%D7%A4%D7%99%D7%9C

Thanks,
Shay


Hi Shay,

Please add the following css to the [b]Plugins/SevenSpikes.Nop.Plugins.NopQuickTabs/Themes/DarkOrange/Contentjquery-ui-1.8.21.custom.css[/b] file (add it to the existing css classes).

.ui-tabs { direction: rtl; }
.ui-tabs .ui-tabs-nav li.ui-state-default {float: right; }
.ui-tabs .ui-tabs-nav li a { float: right; }


Ivan Stoyanov

RTL header
12 years ago

shayt wrote:
Hi,
Can we have RTL header -
meaning that "overview" will be at the rightest position and not at the left position.

Thanks,
Shay


Hi Shay,

Can you give us more information? Which header are you referring to?

Generally you can arrange the position of your content by going to the appropriate view for example Views/Common/HeaderLinks.cshtml and positioning the link that you want at the desired place.
NOTE: This is not right-to-left. The right-to-left support is achieved by css and is specific for each theme.

Ivan Stoyanov

12 years ago

shayt wrote:
in quick-tabs,
both in Ajax and in non-Ajax,
when the fields are EMPTY, and i click on SEND,
there is NO error message.

Shay


Hi Shay,

Sorry for the late reply, but there was a holiday in Bulgaria.

Can you please give us a link to your website.

I presume that you are talking about the Reviews tab. Everything works fine on our demo website.

Ivan Stoyanov