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 Smart Template v4.4.x (https://forum.x-cart.com/showthread.php?t=55088)

PhilJ 05-05-2011 12:03 PM

Re: X-Cart Smart Template v4.4.x
 
Just to let you know, the template is being tested with v4.4.3 - All good so far...

jkwalz108 05-05-2011 12:46 PM

Re: X-Cart Smart Template v4.4.x
 
Thanks Phil- that works exactly as is. It placed the box right on top and in the middle.

Paul Jones 05-06-2011 11:29 PM

Re: X-Cart Smart Template v4.4.x
 
Hi, maybe a little off-topic but I just wanted to highly recommend Phil and his add-on.

I've just done the install today starting from 4.1.3. The upgrade ran quite smoothly. I'm now running 4.4.3 and Phil's template which is awesome.

I had some trouble applying the patch and Phil was lightning fast with his support (and I'm in Australia too!).. His replies were simple and effective and it saved me many hours of mucking around myself!

Absolutely 100% awesome. Thanks Phil.

Cheers
-Paul.

raveworx 05-17-2011 07:07 PM

Re: X-Cart Smart Template v4.4.x
 
Is it possible to use the X-Cart 4.4.3 speed up tool to optimize the JS/CSS in the Smart Template?

X-Cart now can create 1 CSS bundle for all stylesheets and 1 JS bundle for all scripts. However, Smart Template includes a bunch of files that aren't included in the optimized JS or CSS.

Ideally, the Smart Template files could be packaged together with the standard X-Cart files, but at least, it would be nice if there were just 2 JS and CSS files each, one for X-Cart and one for Smart Template.

This page describes the tool in more detail:
http://help.qtmsoft.com/index.php?title=X-Cart:CSS_and_JavaScript_optimization

For example, it would be great if common.tpl includes would use the load_defer tool like this:
Code:

{load_defer file="/skin/smart_template/custom/js/smart_dynamic_search/ajax.js" type="js"}

PhilJ 05-18-2011 02:28 AM

Re: X-Cart Smart Template v4.4.x
 
Quote:

Is it possible to use the X-Cart 4.4.3 speed up tool to optimize the JS/CSS in the Smart Template?

Yes, it's possible to make some 'load_defers' in skin/smart_template/custom/common.tpl

Eg.

{load_defer file="../smart_template/custom/js/ie6/ie6_redirect.js" type="js"}

However, it appears a limitation of the JS tool, is that it fails on already minified/compressed scripts. CSS files seem to be fine.

koz 05-18-2011 05:37 PM

Re: X-Cart Smart Template v4.4.x
 
I am now running Smart Template 4.4.3. Seems to be working well. Would be awesome if there was a way to automatically remove CSS that is not in use from the css files. For example, I'm not using the carousel and the CSS was still loading images into the background that were not needed.
I've also gone ahead and done some file size shrinking on the background images. Header.png was originally 41KB.... I was able to bring the total size down to just under 15k with minimal quality loss.

Since page load time is a factor in how well a site ranks, it would be nice if there were an easier way to select how "good" of an image you want to load. A bonus would be for a way to quickly remove all CSS elements that are not in use.

Nice theme overall. I'm happy with the purchase.

Edit:
Did I perhaps make too many edits? I'm having a bit of a problem whereas the top horizontal flyout menu goes behind the vertical category menu (on the side). Would anyone happen to know which file controls the positioning of the top horizontal flyout ?

jkwalz108 05-19-2011 04:30 PM

Re: X-Cart Smart Template v4.4.x
 
1 Attachment(s)
Any ideas as to how to get rid of the line in the attached pic? I hope I didn't mess with a setting to cause it :-|

Thx,

Jason

ilter 05-25-2011 02:38 AM

Re: X-Cart Smart Template v4.4.x
 
hi, phil on new version smart template (for 4.4.3)
Still on IE9 rounded corners has got problem
please look at the picture

http://www.ilter.org/roundedcorners.jpg

i need to fix that problem

please help me thanks

dio2006 05-26-2011 02:29 PM

Re: X-Cart Smart Template v4.4.x
 
i had some problems. if you press like' button it is showing like for all products not for just one which i want to like it. how can i fix it?

Quote:

Originally Posted by PhilJ
Anyone wanting to easily add a Facebook 'Like' button...

In skin/smart_template/custom/common.tpl

At the end, insert...
Code:


<meta property="og:title" content="{$product.producttitle|default:$product.product|escape}" />
<meta property="og:site_name" content="{$config.Company.company_name}" />
<meta property="og:image" content="{$product.image_url|default:$product.tmbn_url}" />

Then in skin/smart_template/customer/main/product_details.tpl

After...

Code:


<div class="ask-question">
{include file="customer/buttons/button.tpl" button_title=$lng.lbl_ask_question_about_product style="link" href="javascript: return !popupOpen(xcart_web_dir + '/popup_ask.php?productid=`$product.productid`')"}
</div>

Insert...
Code:

<iframe src="http://www.facebook.com/plugins/like.php?href={$php_url.url|escape:"url"}&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:30px; margin-top:10px"></iframe>
Then run cleanup.php

Source | Demo

I don't have a Facebook account, so I can't test it personally :)


sparrowdog 05-28-2011 09:13 PM

Re: X-Cart Smart Template v4.4.x
 
Hoping someone might be able to help me with an install of Smart Template on 4.4.3

I have done over 24 installs & set ups of x-cart, but this is my first with 4.4.3 and first with this template.

The 4.4.3 install went fine and with the Light & Lucid skin I could see my categories and have started putting products in.

I have just followed the step by step guide for installing the template, and as you can see http://www.eatdrinkstainless.com.au/home.php, none of the stylesheets appear to be working, but more importantly, I can't see my categories or my content or anything.

What have I done wrong? I'm usually very good at these things.

I have put a ticket in with xcartmods but it's early Sunday morning and thought someone may be awake and able to help me out.


All times are GMT -8. The time now is 12:00 PM.

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