View Single Post
  #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