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
  #71  
Old 12-01-2010, 03:14 PM
 
mpepel mpepel is offline
 

Member
  
Join Date: Aug 2008
Posts: 16
 

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

Phil, Installation instructions for Smart Template v4.4.1 Countdown explain how to adjust date and time values, and how to change language label (lbl_st_countdown_msg), but how to have ⌠Days, Hrs, Min, Sec■ available in other languages.
I use English and Polish Languages, and need to have Days - dni, Hrs - godz┘ translated. Is there a way to do it?

Klemens
__________________
x-cart version v4.4.1
Smart Template v4.4.1
currency rates module for X-Cart v4.4

Reply With Quote
  #72  
Old 12-02-2010, 06:19 AM
 
PhilJ PhilJ is offline
 

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

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

Hi Klemens, you adjust the countdown date in skin/smart_template/custom/js/countdown/countdown.js

Read the install.html doc for details.

To change the countdown message, search for lbl_st_countdown_msg in languages.

If you want to use another language for the countdown time units, you can download a translation pack of the script here.

Follow the instructions in the 'Localisation' tab.

- Upload the relevant language pack to skin/smart_template/custom/js/countdown/
- Make the relevant changes in skin/smart_template/custom/js/countdown/jquery.countdown.js
- Then in skin/smart_template/custom/common.tpl

Replace...

Code:
<script type="text/javascript" src="{$AltSkinDir}/custom/js/countdown/jquery.countdown.min.js"></script> <script type="text/javascript" src="{$AltSkinDir}/custom/js/countdown/countdown.js"></script>

With something like...

Code:
{if $store_language eq 'en'} <script type="text/javascript" src="{$AltSkinDir}/custom/js/countdown/jquery.countdown.min.js"></script> <script type="text/javascript" src="{$AltSkinDir}/custom/js/countdown/countdown.js"></script> {elseif $store_language eq 'pl'} <script type="text/javascript" src="{$AltSkinDir}/custom/js/countdown/jquery.countdown.js"></script> <script type="text/javascript" src="{$AltSkinDir}/custom/js/countdown/jquery.countdown-pl.js"></script> <script type="text/javascript" src="{$AltSkinDir}/custom/js/countdown/countdown.js"></script> {/if}

HTH
__________________
xcartmods.co.uk
Reply With Quote
  #73  
Old 12-02-2010, 10:53 AM
 
mpepel mpepel is offline
 

Member
  
Join Date: Aug 2008
Posts: 16
 

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

Works perfect. Thank you very much Phil.
Should I use the same method ({is $store_language eq ▒pl▓}) translating footer items (about, legal, follow us)?

Klemens
__________________
x-cart version v4.4.1
Smart Template v4.4.1
currency rates module for X-Cart v4.4

Reply With Quote
  #74  
Old 12-02-2010, 11:02 AM
 
PhilJ PhilJ is offline
 

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

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

Great
You could use the same method if you want to hard code your footer items, or simply add new language labels to the footer items, so that they change automatically, eg.
Code:
<li><a href="pages.php?pageid=2">{$ln.lbl_about_us}</a></li>

__________________
xcartmods.co.uk
Reply With Quote
  #75  
Old 12-04-2010, 07:44 PM
 
mpepel mpepel is offline
 

Member
  
Join Date: Aug 2008
Posts: 16
 

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

THANKS AGAIN PHIL. Your product is great.
By the way, how to get an upgrade for vertical category menu?

Klemens
__________________
x-cart version v4.4.1
Smart Template v4.4.1
currency rates module for X-Cart v4.4

Reply With Quote
  #76  
Old 12-05-2010, 03:26 AM
 
PhilJ PhilJ is offline
 

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

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

Hi Klemens, I have emailed you the upgrade files.
__________________
xcartmods.co.uk
Reply With Quote
  #77  
Old 12-06-2010, 06:41 AM
 
PhilJ PhilJ is offline
 

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

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

Now includes an animated image slider for the homepage (free for existing purchasers - just email or PM your order ID).
__________________
xcartmods.co.uk
Reply With Quote
  #78  
Old 12-06-2010, 11:07 AM
 
PhilJ PhilJ is offline
 

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

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

For anyone getting odd sized thumbnails, in skin/smart_template/custom/css/common.css

Change...
Code:
ul.row_view li .product_block .thumbcol img { margin: 0 0 10px 0; width: auto; height: auto; /* Thumbnail Size */ }
To...
Code:
ul.row_view li .product_block .thumbcol img { margin: 0 0 10px 0; }

Then in skin/smart_template/customer/simple_products_list.tpl

Replace...
Code:
{include file="product_thumbnail.tpl" productid=$product.productid image_x=$product.tmbn_x image_y=$product.tmbn_y product=$product.product tmbn_url=$product.tmbn_url}
with...
Code:
{if $product.tmbn_x} {include file="product_thumbnail.tpl" productid=$product.productid image_x=$product.tmbn_x image_y=$product.tmbn_y product=$product.product tmbn_url=$product.tmbn_url} {else} {include file="product_thumbnail.tpl" productid=$product.productid image_x=$config.Appearance.thumbnail_width image_y=$product.tmbn_y product=$product.product tmbn_url=$product.tmbn_url} {/if}

In addition, the image cache regeneration tool doesn't appear to be working 100% in v4.4.1.
I'm guessing that, along with many other bugs, will be fixed in v4.4.2 (due out end of Dec).
__________________
xcartmods.co.uk
Reply With Quote
  #79  
Old 12-07-2010, 05:48 AM
 
JacksmithxD JacksmithxD is offline
 

X-Adept
  
Join Date: Oct 2010
Posts: 400
 

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

I don't usually post anything on forums but i would like to say your template is awesome and thank you for all your help! Image Slider works great and does everything you want, along with the full template slick work.
__________________
Xcart 4.5.2
Reply With Quote

The following user thanks JacksmithxD for this useful post:
PhilJ (12-07-2010)
  #80  
Old 12-07-2010, 07:53 AM
 
masada3336 masada3336 is offline
 

Senior Member
  
Join Date: Jan 2009
Posts: 115
 

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

Hi Phil - first off, this is my second go around with your templates - they're fantastic! GREAT starting points for quasi-custom templates!

I'm trying to get the title tag to have some custom text behind it - is there somewhere in your template that I can do that? I know SEO has the title tag option, but that only lets you replace the text when there's no title tag assigned through the product details page. I'd like to have text before absolutely every title tag.

Thanks again!

Quote:
Originally Posted by jimcon
Phil The browser tab shows "X-Cart Smart Template v4.4x" Can this be changed to something like "NES X-Cart Smart Template"? If so where?
__________________
4.4.5 - with Customized Smart Template
Reply With Quote

The following user thanks masada3336 for this useful post:
PhilJ (12-07-2010)
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 08:56 AM.

   

 
X-Cart forums © 2001-2020