X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   X-Cart - reBOOT - Responsive Template (https://forum.x-cart.com/showthread.php?t=66570)

Pitak 10-08-2014 08:13 AM

Re: X-Cart - reBOOT - Responsive Template
 
Thanks, Phil. This makes the template even better! The more I use it, the more I love it! <3

Pitak 10-08-2014 09:52 AM

Re: X-Cart - reBOOT - Responsive Template
 
Phil, the Redactor HTML Editors Addon does not work here:
Admin::Product Modify::International Descriptions

I guess I have to add something into the Redactor HTML Option "Textareas to use Redactor", but I can't seem to figure it out.

Any idea?

PhilJ 10-08-2014 10:00 AM

Re: X-Cart - reBOOT - Responsive Template
 
Pitak, edit skin/common_files/main/products_lng.tpl

Replace...
Quote:

{include file="main/textarea.tpl" name="product_lng[descr]" cols=45 rows=8 class="InputWidth" data=$product_languages.descr width="80%" btn_rows=4}
With...
Quote:

{include file="main/textarea.tpl" id="descr" name="product_lng[descr]" cols=45 rows=8 class="InputWidth" data=$product_languages.descr width="80%" btn_rows=4}
Then replace...
Quote:

{include file="main/textarea.tpl"name="product_lng[fulldescr]" cols=45 rows=12 class="InputWidth" data=$product_languages.fulldescr width="80%" btn_rows=4}
With..
Quote:

{include file="main/textarea.tpl" id="fulldescr" name="product_lng[fulldescr]" cols=45 rows=12 class="InputWidth" data=$product_languages.fulldescr width="80%" btn_rows=4}
Then in the Redactor module settings - www.yourstore.com/admin/configuration.php?option=Redactor - add these two fields to "Textareas to use Redactor"...
Code:

,#descr,#fulldescr
Save and run a template cleanup.

Pitak 10-08-2014 11:05 PM

Re: X-Cart - reBOOT - Responsive Template
 
Phil, I found a bug on the product list page.

When I set the "sort by" to "Price" and the "no. of items/page" to "24", some items do not show up. Other combinations of "sort by" and "no. of items/page" are working correctly.

Really baffling. In the mean time, I'll set the default no. of items to something other than 24. Please see if you can fix this.

Thanks <3

PhilJ 10-08-2014 11:50 PM

Re: X-Cart - reBOOT - Responsive Template
 
Pitak, sorry, I can't reproduce that issue on the demo. Try rebuilding the category indexes in tools > maintenance.

Pitak 10-08-2014 11:57 PM

Re: X-Cart - reBOOT - Responsive Template
 
That did fixed the problem. Boy, I'm embarrassed!

Thanks!

designguru 10-10-2014 03:42 AM

Re: X-Cart - reBOOT - Responsive Template
 
Phil, I've sent in a ticket some days ago.

Pitak 10-10-2014 07:18 AM

Re: X-Cart - reBOOT - Responsive Template
 
Phil, I don't get how the "Mega menu - Display category icons (second level only)" work. I edited the width and height in func.image.php and regenerate the image cache. The result is that the sub-category icons on the Mega menu are blown up. Right-clicking on the icon shows something like "100px в 100px (scaled to 300px в 300px)". Where can I change the scaled sizes in order to display the correct sizes?

PhilJ 10-10-2014 07:48 AM

Re: X-Cart - reBOOT - Responsive Template
 
Pitak, strange. Maybe the icon image cache did not fully regenerate. Check with Firebug to see what the actual icons dimensions are on the <img> tags.

You could force the icon sizes, by adding CSS to skin/reboot/css/reboot/css ...

Code:

p.megamenu-icon img { width: 100px; height: 100px; }
or
Code:

p.megamenu-icon img { width: 100px !important; height: 100px !important; }

Pitak 10-10-2014 08:32 AM

Re: X-Cart - reBOOT - Responsive Template
 
Phil, the actual icon dimensions on the <img> tags of the page shows the blown up dimension of 300x300. I've added your code to the reboot.css file and it got fixed immediately. Some of the icons I have are not 1:1 ratio though, so it looks a bit disproportionate but I can redo those again. Thank you! <3


All times are GMT -8. The time now is 02:18 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.