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 11-04-2010 04:59 AM

Re: X-Cart Smart Template v4.4.x
 
X-Cart does that by default, but we fixed it...

skin/smart_template/modules/News_Management/customer/news_archive.tpl

Lines 34-40 should be...
Code:

        <div class="news-body">
          {if $m.allow_html eq "N"}
            {$m.body|escape|nl2br}
          {else}
            {$m.body}
          {/if}
        </div>


It should then render the HTML.

jondoe 11-04-2010 07:32 AM

Re: X-Cart Smart Template v4.4.x
 
thanks.
Hey, sorry just one more thing. The search doesn't show a result page; it throws an error page when I try to search an item. If I turn on a default x-cart themem, it returns a result page.

PhilJ 11-04-2010 08:23 AM

Re: X-Cart Smart Template v4.4.x
 
jondoe, I've emailed you the fix, this was addressed a while ago.

candc 11-06-2010 11:33 AM

Re: X-Cart Smart Template v4.4.x
 
I am finding 150px wide thumbnails are covering part of the price/sku, and start of the short description.

As regenerating the images doesn't seem to work in 4.4.1, is it possible to adjust this somehow:-)

PhilJ 11-07-2010 03:19 AM

Re: X-Cart Smart Template v4.4.x
 
Sure, skin/smart_template/custom/css/common.css
Code:

ul.row_view li .product_block .thumbcol { float: left; width: 135px; /* Image Column Width */ }
ul.row_view li .product_block .thumbcol img { margin: 0 0 10px 0; width: auto; height: auto; /* Thumbnail Size */ }
ul.row_view li .product_block p.desc { margin-top: 0; margin-left: 135px; /* Image Column Width */ }
ul.row_view li .product_block p.details { margin-left: 135px; /* Image Column Width */ }


candc 11-07-2010 03:33 AM

Re: X-Cart Smart Template v4.4.x
 
Perfect, that has sorted it, thanks Phil :D

yages 11-09-2010 06:20 PM

Re: X-Cart Smart Template v4.4.x
 
The quantity dropdown box on products is overlapping the above tax line need to lower the drop down quantity box

PhilJ 11-10-2010 03:53 AM

Re: X-Cart Smart Template v4.4.x
 
Yages, use Firebug to find the <div> element and adjust the associated CSS accordingly.

yages 11-10-2010 01:22 PM

Re: X-Cart Smart Template v4.4.x
 
div class="quantity"
Do not now what css to edit
Looked OK before I add your smart skin

jondoe 11-11-2010 05:02 AM

Re: X-Cart Smart Template v4.4.x
 
Is anyone having the problem setting Maximum Thumbnail Width? I've set 125 pixel but thumbnails width do not change at all.

PhilJ 11-11-2010 05:05 AM

Re: X-Cart Smart Template v4.4.x
 
Have you re-generated the image cache ? ( Tools > Maintenance )

We've not modified anything that should affect the images. Don't forget, v4.4.1 is an early version and bugs may still exist that are beyond our control.

yages 11-11-2010 10:41 AM

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

Originally Posted by yages
div class="quantity"
Do not now what css to edit
Looked OK before I add your smart skin


Phil can you help me with this. I would like to make my site live

PhilJ 11-11-2010 12:04 PM

Re: X-Cart Smart Template v4.4.x
 
Re. Yages issue with display of taxes (not a bug with the template, because we haven't altered x-cart's code regarding taxes)

skin/smart_template/css/altskin.css

At the bottom, add...
Code:

/*----------------------------------------*/
.buy-now {
 margin-top: 20px;
}


Freakmode 11-12-2010 03:57 AM

Re: X-Cart Smart Template v4.4.x
 
Quick question for Phil

Would it be possible to move the "Site Preferences" options up to the top of the template and replace the current speedbar with it in a Horizontal format?

I have moved the Speedbar to the middle menu bar so there is a space for it.

PhilJ 11-12-2010 04:10 AM

Re: X-Cart Smart Template v4.4.x
 
Sure, you just have to carefully take out the elements from skin/smart_template/custom/preferences.tpl and place them in skin/smart_template/custom/header.tpl where the old speedbar used to be.

Then comment out {include file="custom/preferences.tpl"} from your home_xcol.tpl template.

PhilJ 11-20-2010 06:11 AM

Re: X-Cart Smart Template v4.4.x
 
The template now includes 72 Cufon fonts!

Freakmode 11-20-2010 09:12 AM

Re: X-Cart Smart Template v4.4.x
 
Hi Phil

Another quick question - sorry

Could you tell me what css controls the background colour on the attached image (pointed out in the red arrows) The shaded background - body_bg.png ends and then contines in white - really need it to be a different colour

http://www.freakmode.com/pump/template.jpg

Thanks

PhilJ 11-20-2010 09:35 AM

Re: X-Cart Smart Template v4.4.x
 
To fix that, in skin/smart_template/css/altskin.css

Below...
Code:

/**
 * General tags styles
 */


Insert...
Code:

html,
body
{
  background-color: transparent;
}



Then the background is controlled by your theme css file.
eg.
Code:

body {
 font-size: 76%; /* Base Font Size : 76% - 90% */
 font-family: Arial, Helvetica, sans-serif, "Lucida Grande", "Lucida Sans Regular";
background: #E9E9E9 url(apple/body_bg.png) top center no-repeat;
background-attachment: scroll; /* scroll or fixed */
}


Freakmode 11-20-2010 10:24 AM

Re: X-Cart Smart Template v4.4.x
 
Cheers Phil - been driving me mad trying to find how that works

yages 11-20-2010 01:06 PM

Re: X-Cart Smart Template v4.4.x
 
How do you change the colour of the black menu strip with the search button in it

PhilJ 11-20-2010 01:08 PM

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

How do you change the colour of the black menu strip with the search button in it

Modify skin/smart_template/custom/themes/xxxx/header.png
xxxx being your chosen theme. A link to the source files was sent with your order.

jimcon 11-23-2010 07:12 AM

Re: X-Cart Smart Template v4.4.x
 
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?

PhilJ 11-23-2010 07:20 AM

Re: X-Cart Smart Template v4.4.x
 
General Settings > SEO

jimcon 11-23-2010 02:27 PM

Re: X-Cart Smart Template v4.4.x
 
Thanks, Phil
It worked perfectly

PhilJ 11-24-2010 06:24 AM

Re: X-Cart Smart Template v4.4.x
 
The Smart Template now comes with a dynamic four level vertical flyout category menu, giving you even more value for money :)
(Free for existing purchasers, just email us your order ID)

PhilJ 11-24-2010 08:25 AM

Re: X-Cart Smart Template v4.4.x
 
For anyone having issues with the Mailchimp module, it's not related to the template. There's a 'fix' available here.

candc 11-25-2010 07:55 AM

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

Originally Posted by PhilJ
The Smart Template now comes with a dynamic four level vertical flyout category menu, giving you even more value for money :)


Bargain:D

Is this for existing users, or new buyers only Phil?

candc 11-27-2010 10:35 AM

Re: X-Cart Smart Template v4.4.x
 
Wild stab in the dark, anyone using Frontpage Slideshow with this template?

PhilJ 11-29-2010 05:30 AM

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

Wild stab in the dark, anyone using Frontpage Slideshow with this template?

I've used the standalone slideshow before on previous versions, shouldn't have any issues adding it to the template... It's just a case of getting the paths right...
Code:

{php}
 $nameOfSlideshowToDisplay = "demoslideshow";
 $URLofyoursite = "http://www.yourstore.com";
 $AbsoluteServerPathofyoursite = "/absolute/path/to/store";
 include_once($AbsoluteServerPathofyoursite."/fpss/mod_fpslideshow.php");
{/php}


candc 11-29-2010 08:13 AM

Re: X-Cart Smart Template v4.4.x
 
Cheers Phil, adding to the template is fine.

Getting it to work with the site is another matter entirely:D

Conflicts with the news, layouts, switchers etc it seems.

mpepel 12-01-2010 03:14 PM

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

PhilJ 12-02-2010 06:19 AM

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

mpepel 12-02-2010 10:53 AM

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

PhilJ 12-02-2010 11:02 AM

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>


mpepel 12-04-2010 07:44 PM

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

PhilJ 12-05-2010 03:26 AM

Re: X-Cart Smart Template v4.4.x
 
Hi Klemens, I have emailed you the upgrade files.

PhilJ 12-06-2010 06:41 AM

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).

PhilJ 12-06-2010 11:07 AM

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).

JacksmithxD 12-07-2010 05:48 AM

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.

masada3336 12-07-2010 07:53 AM

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?



All times are GMT -8. The time now is 06:33 AM.

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