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
  #251  
Old 02-07-2011, 07:19 AM
  Soft-Reseller.com's Avatar 
Soft-Reseller.com Soft-Reseller.com is offline
 

Advanced Member
  
Join Date: Jul 2009
Posts: 68
 

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

Hello

I am facing a little issue.

when I open my webpage it do not shows the Title. Only shows "Your Company Name"

http://demos.soft-reseller.com/x-cart/forum_pics/Page_Title_1.png

But on all other Pages such as Categories and Product page it shows the Title.

http://demos.soft-reseller.com/x-cart/forum_pics/Page_Title_2.png

Please Help

Best Regards
Kashif Rashid
Reply With Quote
  #252  
Old 02-07-2011, 03:54 PM
  open's Avatar 
open open is offline
 

Member
  
Join Date: Nov 2007
Location: UK
Posts: 18
 

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

hi soft reseller
RE: Unable to display the Default site 'Title' tag after editing.
try this link
http://bugtracker.qtmsoft.com/view.php?id=38978

look for DIFF_54453.patch then apply the patch (scroll to bottom of page)
__________________
xcart 4.4.2 gold
X-Cart Smart Template v4.4.x
under construction
Reply With Quote
  #253  
Old 02-07-2011, 07:35 PM
  Soft-Reseller.com's Avatar 
Soft-Reseller.com Soft-Reseller.com is offline
 

Advanced Member
  
Join Date: Jul 2009
Posts: 68
 

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

Quote:
Originally Posted by open
hi soft reseller
RE: Unable to display the Default site 'Title' tag after editing.
try this link
http://bugtracker.qtmsoft.com/view.php?id=38978

look for DIFF_54453.patch then apply the patch (scroll to bottom of page)

Hello

Dear Open

Thank you very much. You have solved my issue.

It took 1 minute to install the patch "DIFF_54453.patch" at

http://bugtracker.qtmsoft.com/view.php?id=38978

Thanks again

Best Regards
Kashif
Reply With Quote

The following user thanks Soft-Reseller.com for this useful post:
open (02-08-2011)
  #254  
Old 02-08-2011, 01:37 AM
  AusNetIT's Avatar 
AusNetIT AusNetIT is offline
 

Senior Member
  
Join Date: Apr 2009
Posts: 152
 

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

Hi Phil,

I want to add flash banner to my Home page. But i call the html page from Home.tpl. So where do i add the flash script?

Thanks,
__________________
Melbourne website design | SEO in Melbourne

Installed Ver 4.6.0
Reply With Quote
  #255  
Old 02-08-2011, 06:35 AM
 
PhilJ PhilJ is offline
 

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

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

Quote:
I want to add flash banner to my Home page. But i call the html page from Home.tpl. So where do i add the flash script?
skin/smart_template/customer/main/welcome.tpl
__________________
xcartmods.co.uk
Reply With Quote
  #256  
Old 02-08-2011, 07:09 AM
 
candc candc is offline
 

eXpert
  
Join Date: Jul 2009
Location: UK
Posts: 292
 

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

Hi Phil

As you are about, any chance you could sent us the slider files, want to give the Nivo a go see if it is any smoother.

Sorted the pre-order issue out, you were spot on of course so no need to worry about that.

But if you could give me a shout when you have 5 mins
__________________
Ver 4.4.4 Gold
Ability
BCSE Pre Order
BCSE Global Product Options
BCSE Stock Notify
CDSEO Pro
MM OPC - Gave up with it
Altered Cart OPC
XMobile
Powered by EWD

Ver 4.4.4 Gold
Ability
BCSE Pre Order
BCSE Global Product Options
BCSE Stock Notify
CDSEO Pro
Altered Cart OPC
XMobile
Powered by EWD
Reply With Quote
  #257  
Old 02-08-2011, 02:57 PM
 
PhilJ PhilJ is offline
 

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

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

Euribada and Mr G ...

Quote:

Q1.
i wonder how to change order of Smart Tabs and change default selection to other taps? for example, i would like to select the "recommended" instead of "sent to friend" at default setting without click to see the products. in addition, i would like to put send to friend at very last.

skin/smart_template/custom/tabs.tpl

You have to reorder the blocks of code in the upper half.

Then apply <li class="selected"> to the first item.

Eg.
Code:
{if $active_modules.Recommended_Products} <li class="selected"><a href="#st_tab5" rel="tcontent5"><span>{$lng.lbl_recommends}</span></a></li> {/if}

Quote:

Q2. - i would like to make detailed image views in a popup window with "jQuery ColorBox" to show different angle. before i apply Smart Template, it works just fine however, after applied smart template, it's not showing properly.
do you have any idea to fix this problem?

Here is a fix for the Colorbox not loading in IE...

Add the following CSS code to skin/smart_template/css/altskin.css

Code:
/*----------------------------------------*/ /** * ColorBox Fix */ /* ColorBox Core Style The following rules are the styles that are consistant between themes. Avoid changing this area to maintain compatability with future versions of ColorBox. */ #colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;} #cboxOverlay{position:fixed; width:100%; height:100%;} #cboxMiddleLeft, #cboxBottomLeft{clear:left;} #cboxContent{position:relative; overflow:hidden;} #cboxLoadedContent{overflow:auto;} #cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;} #cboxTitle{margin:0;} #cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;} #cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;} /* Example user style The following rules are ordered and tabbed in a way that represents the order/nesting of the generated HTML, so that the structure easier to understand. */ #cboxOverlay{background:url(../../common_files/lib/colorbox/images/overlay.png) repeat 0 0;} #colorbox{} #cboxTopLeft{width:21px; height:21px; background:url(../../common_files/lib/colorbox/images/controls.png) no-repeat -100px 0;} #cboxTopRight{width:21px; height:21px; background:url(../../common_files/lib/colorbox/images/controls.png) no-repeat -129px 0;} #cboxBottomLeft{width:21px; height:21px; background:url(../../common_files/lib/colorbox/images/controls.png) no-repeat -100px -29px;} #cboxBottomRight{width:21px; height:21px; background:url(../../common_files/lib/colorbox/images/controls.png) no-repeat -129px -29px;} #cboxMiddleLeft{width:21px; background:url(../../common_files/lib/colorbox/images/controls.png) left top repeat-y;} #cboxMiddleRight{width:21px; background:url(../../common_files/lib/colorbox/images/controls.png) right top repeat-y;} #cboxTopCenter{height:21px; background:url(../../common_files/lib/colorbox/images/border.png) 0 0 repeat-x;} #cboxBottomCenter{height:21px; background:url(../../common_files/lib/colorbox/images/border.png) 0 -29px repeat-x;} #cboxContent{background:#fff;} #cboxLoadedContent{margin-bottom:28px;} #cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;} #cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;} #cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;} #cboxPrevious{position:absolute; bottom:0; left:0px; background:url(../../common_files/lib/colorbox/images/controls.png) no-repeat -75px 0px; width:25px; height:25px; text-indent:-9999px;} #cboxPrevious.hover{background-position:-75px -25px;} #cboxNext{position:absolute; bottom:0; left:27px; background:url(../../common_files/lib/colorbox/images/controls.png) no-repeat -50px 0px; width:25px; height:25px; text-indent:-9999px;} #cboxNext.hover{background-position:-50px -25px;} #cboxLoadingOverlay{background:url(../../common_files/lib/colorbox/images/loading_background.png) no-repeat center center;} #cboxLoadingGraphic{background:url(../../common_files/lib/colorbox/images/loading.gif) no-repeat center center;} #cboxClose{position:absolute; bottom:0; right:0; background:url(../../common_files/lib/colorbox/images/controls.png) no-repeat -25px 0px; width:25px; height:25px; text-indent:-9999px;} #cboxClose.hover{background-position:-25px -25px;} /* The following fixes png-transparency for IE6. It is also necessary for png-transparency in IE7 & IE8 to avoid 'black halos' with the fade transition Since this method does not support CSS background-positioning, it is incompatible with CSS sprites. Colorbox preloads navigation hover classes to account for this. !! Important Note: AlphaImageLoader src paths are relative to the HTML document, while regular CSS background images are relative to the CSS document. */ .cboxIE #cboxTopLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderTopLeft.png, sizingMethod='scale');} .cboxIE #cboxTopCenter{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderTopCenter.png, sizingMethod='scale');} .cboxIE #cboxTopRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderTopRight.png, sizingMethod='scale');} .cboxIE #cboxBottomLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderBottomLeft.png, sizingMethod='scale');} .cboxIE #cboxBottomCenter{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderBottomCenter.png, sizingMethod='scale');} .cboxIE #cboxBottomRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderBottomRight.png, sizingMethod='scale');} .cboxIE #cboxMiddleLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderMiddleLeft.png, sizingMethod='scale');} .cboxIE #cboxMiddleRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderMiddleRight.png, sizingMethod='scale');}
__________________
xcartmods.co.uk
Reply With Quote

The following user thanks PhilJ for this useful post:
Mr. G (02-08-2011)
  #258  
Old 02-08-2011, 03:33 PM
 
PhilJ PhilJ is offline
 

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

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

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
__________________
xcartmods.co.uk
Reply With Quote

The following user thanks PhilJ for this useful post:
Mr. G (02-08-2011)
  #259  
Old 02-08-2011, 06:55 PM
  Mr. G's Avatar 
Mr. G Mr. G is offline
 

eXpert
  
Join Date: Nov 2010
Posts: 386
 

Question Custom custom ;) 404 error page

I've read the manual about customizing 404 error pages.

However, I would like my 404 error page to be like (not the same as) a static page, where my custom 404 error message is within the skin, rather than an empty page like it is for the /xcart/skin/common_files/404/404_en.html page. That would be cool! Also, I do NOT want to do a redirect from the 404 error page either with a meta refresh or a 301 redirect. (Google doesn't like those. Google it.) I don't think I want to use some iframe either.

The html files for XC static pages (example: /public_html/skin/common_files/pages/en/privacy_statement.html) don't include the necessary includes to display the containing skin/page structure. They are "called" from its parent php file somewhere. Perhaps if I knew where the parent php file was, I could clone and modify it and put it in the /xcart/skin/common_files/404/ folder and it would accomplish this task?
TIA!
__________________
4.7.6 Gold Plus
XCartMods.co.uk Ultra Template
X-Cart Abandoned Cart
BCSE PayPal DPM
CDSEO Pro 2.1.8
BCSE Drop Shipper Pro
Google Rich Snippets
Time and money-saving tips I've learned as a webstore owner at http://ShoppingCart-Program.com
Reply With Quote
  #260  
Old 02-09-2011, 08:35 PM
 
PhilJ PhilJ is offline
 

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

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

Mr G, try the attached.

Demo
Attached Files
File Type: zip X-Cart_Custom_404_Page_v4.4.x.zip (1.5 KB, 4 views)
__________________
xcartmods.co.uk
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4


Thread Tools

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 07:54 AM.

   

 
X-Cart forums © 2001-2020