Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

X-Cart Smart Template v4.4.x

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #391  
Old 05-05-2011, 12:03 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default 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...
__________________
xcartmods.co.uk
Reply With Quote
  #392  
Old 05-05-2011, 12:46 PM
 
jkwalz108 jkwalz108 is offline
 

Advanced Member
  
Join Date: Jun 2009
Posts: 53
 

Default 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.
__________________
JKW
X-Cart 4.4.2
Reply With Quote
  #393  
Old 05-06-2011, 11:29 PM
 
Paul Jones Paul Jones is offline
 

Newbie
  
Join Date: Oct 2006
Posts: 6
 

Default 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.
__________________
X-CART Version 4.4.3

Go Kart Parts & Consumables
Australia
Reply With Quote

The following user thanks Paul Jones for this useful post:
PhilJ (07-06-2011)
  #394  
Old 05-17-2011, 07:07 PM
 
raveworx raveworx is offline
 

Advanced Member
  
Join Date: Dec 2005
Posts: 31
 

Default 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"}
__________________
  • RaveWorx - The All Night Party Site!
  • Glowsticks, Party Gear, Rave and Club Toys
  • X-Cart Gold 4.4.3
Reply With Quote
  #395  
Old 05-18-2011, 02:28 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default 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.
__________________
xcartmods.co.uk
Reply With Quote
  #396  
Old 05-18-2011, 05:37 PM
 
koz koz is offline
 

Advanced Member
  
Join Date: Nov 2006
Posts: 88
 

Default 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 ?
__________________
Version 4.4.3 & 4.2.2
FreeBSD
P4 3.2 4 gig ram 300 gig SATA
Reply With Quote
  #397  
Old 05-19-2011, 04:30 PM
 
jkwalz108 jkwalz108 is offline
 

Advanced Member
  
Join Date: Jun 2009
Posts: 53
 

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

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
Attached Images
File Type: jpg line.jpg (293.5 KB, 26 views)
__________________
JKW
X-Cart 4.4.2
Reply With Quote
  #398  
Old 05-25-2011, 02:38 AM
 
ilter ilter is offline
 

Member
  
Join Date: Dec 2006
Posts: 24
 

Default 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
__________________
www.yourstore.com/xcart5/5.2.6
Reply With Quote
  #399  
Old 05-26-2011, 02:29 PM
 
dio2006 dio2006 is offline
 

Member
  
Join Date: Apr 2011
Posts: 11
 

Default 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
__________________
X-Cart
Reply With Quote
  #400  
Old 05-28-2011, 09:13 PM
 
sparrowdog sparrowdog is offline
 

eXpert
  
Join Date: Jan 2007
Posts: 244
 

Default 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.
__________________
Version 4.1.6 to 4.1.11
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:19 AM.

   

 
X-Cart forums © 2001-2020