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

X-Cart Ability Template v4.4.x

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #351  
Old 07-23-2012, 06:27 AM
  jcorneli's Avatar 
jcorneli jcorneli is offline
 

Advanced Member
  
Join Date: Jul 2007
Posts: 74
 

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

Candc -Thanks for pointing me in the right direction. I can now move on to trying to get that link secure.

Best
__________________
www.usapolicesupply.com
v4.6.3

Xcartmods reBoot Template
WebsiteCM CDSEO Pro SEO
BCS Multipe Upselling Links
Firetank Feed Manager

BCS Product Importer Updater Pro
BCS Drop Shipper Pro
BCS Quote Request Module
BCS Printable Online Catalog
Reply With Quote
  #352  
Old 07-23-2012, 04:20 PM
  CenturyPerf's Avatar 
CenturyPerf CenturyPerf is offline
 

eXpert
  
Join Date: Jun 2003
Location: Reno, Nevada
Posts: 396
 

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

Phil,

I'm seeing an odd error in the x-errors_php logs. Performing a Google search is I found other X-Cart sites using the Ability template with the same error.

The error is showing up in the logs daily.

Code:
[22-Jul-2012 03:27:11] Error: Smarty error: [in custom/common.tpl line 61]: syntax error: unrecognized tag '/literal' (Smarty_Compiler.class.php, line 590) in /xxxxx/xxxxxxxxx/public_html/include/lib/smarty/Smarty.class.php on line 1093 [22-Jul-2012 03:31:13] Error: Smarty error: [in custom/common.tpl line 61]: syntax error: unrecognized tag '/literal' (Smarty_Compiler.class.php, line 590) in /xxxxx/xxxxxxxxx/public_html/include/lib/smarty/Smarty.class.php on line 1093

The code related to this error is located in "/skin/ability/custom/common.tpl"
Code:
{*-------------------------------------------------------- REDIRECT OLD IE BROWSERS --------------------------------------------------------*} {if $config.Ability_Template.abi_ie_redirect eq "Y"} <!--[if lte IE 7]> {literal} <script type="text/javascript"> window.location="upgrade.html"; </script> {/literal} <![endif]--> {/if}
__________________
Best Regards,

Sam Solace - Pres/CEO
Century Performance Center, Inc.
http://www.centuryperformance.com

(3) sites using X-Cart 5.3.5.5
X-Payments Enterprise 3.1.4
Reply With Quote
  #353  
Old 07-24-2012, 08:04 AM
 
PhilJ PhilJ is offline
 

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

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

A bit further up in that template where it reads "BROWSER SPECIFIC IE FIXES" ensure the block of code reads like this...

Code:
{*-------------------------------------------------------- BROWSER SPECIFIC IE FIXES --------------------------------------------------------*} <!--[if IE 6]> <script type="text/javascript" src="{if $is_https_zone}https{else}http{/if}://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script> {literal} <script>window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})</script> {/literal} <script src="{$AltSkinDir}/custom/js/DD_belatedPNG_0.0.8a.js"></script> {literal} <script> DD_belatedPNG.fix('body,#abi_header_container,#abi_logo_small h1,#abi_logo_medium h1,#abi_logo_large h1,#abi_logo_xlarge h1,#abi_main_container,#abi_menu_container,h3.menu_title,h2.dialog_title,#abi_footer_container,#abi_copyright_container,button.button,button.button:hover'); </script> {/literal} <link rel="stylesheet" href="{$AltSkinDir}/custom/css/ie_6.css" /> <![endif]--> <!--[if IE 7]> <link rel="stylesheet" href="{$AltSkinDir}/custom/css/ie_7.css" /> <![endif]--> <!--[if IE 8]> <link rel="stylesheet" href="{$AltSkinDir}/custom/css/ie_8.css" /> <![endif]--> <!--[if IE]> <link rel="stylesheet" href="{$AltSkinDir}/custom/css/ie.css" /> <![endif]-->

In earlier versions there was a {literal} tag missing.
__________________
xcartmods.co.uk
Reply With Quote
  #354  
Old 07-24-2012, 03:59 PM
  CenturyPerf's Avatar 
CenturyPerf CenturyPerf is offline
 

eXpert
  
Join Date: Jun 2003
Location: Reno, Nevada
Posts: 396
 

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

Thanks Phil,

Mine was missing that {literal} tag.
__________________
Best Regards,

Sam Solace - Pres/CEO
Century Performance Center, Inc.
http://www.centuryperformance.com

(3) sites using X-Cart 5.3.5.5
X-Payments Enterprise 3.1.4
Reply With Quote
  #355  
Old 07-25-2012, 07:55 AM
  jcorneli's Avatar 
jcorneli jcorneli is offline
 

Advanced Member
  
Join Date: Jul 2007
Posts: 74
 

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

Thanks for the help. I got the problem fixed by editing the footer file and adding https
__________________
www.usapolicesupply.com
v4.6.3

Xcartmods reBoot Template
WebsiteCM CDSEO Pro SEO
BCS Multipe Upselling Links
Firetank Feed Manager

BCS Product Importer Updater Pro
BCS Drop Shipper Pro
BCS Quote Request Module
BCS Printable Online Catalog
Reply With Quote
  #356  
Old 07-25-2012, 08:00 AM
 
PhilJ PhilJ is offline
 

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

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

You can also use code like this...

Quote:
{if $is_https_zone}https{else}http{/if}
__________________
xcartmods.co.uk
Reply With Quote
  #357  
Old 07-27-2012, 01:36 AM
  CenturyPerf's Avatar 
CenturyPerf CenturyPerf is offline
 

eXpert
  
Join Date: Jun 2003
Location: Reno, Nevada
Posts: 396
 

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

Phil is there a way to better /different way to refresh the page when when an item is deleted or updated from the cart?

When the mini cart is cleared it does not refresh the page to remove the checkout buttons.

NOTE: Using WebsiteCM's ezUpsell mod, so "update mini cart in background" is disabled.
__________________
Best Regards,

Sam Solace - Pres/CEO
Century Performance Center, Inc.
http://www.centuryperformance.com

(3) sites using X-Cart 5.3.5.5
X-Payments Enterprise 3.1.4
Reply With Quote
  #358  
Old 07-30-2012, 06:06 PM
 
SGS SGS is offline
 

Advanced Member
  
Join Date: May 2006
Posts: 99
 

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

Quote:
Originally Posted by SGS
Phil, can you help me solve a small mystery. The small magnify icon and text showing Detailed Images and Count are not aligned correctly in the x-cart 4.5.1 version? With the 4.4.5 version it looked perfect. (See attached images)

I have tried to just move it over to the left but that did not work.

Thanks for having a look.

sg

Really need to get this issue fixed, anyone know how to fix it. I have compared files from the Ability 445 version to the 451 and 452. I can not see anything, no changes, plus on the demo site it shows the same.

Need help with this one Phil.

Cheers
__________________
Currently Using:

For X-cart v5.2.0
1 Business v5.2.6 license <Getting Better>!
1 Banner Mod 5.2.7 license
1 #28 iGoods Template

For X-cart v4.7.0

1 GoldPlus v4 license unused

3 Gold v4 license Unused

A wise man once said it is best to fix the cart instead of trying to use a broken cart. The horse has a very hard time pushing a broken cart!!
Reply With Quote
  #359  
Old 08-03-2012, 05:31 AM
  David-Allan's Avatar 
David-Allan David-Allan is offline
 

eXpert
  
Join Date: Oct 2011
Location: Scotland, UK
Posts: 313
 

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

Hey Guys,

Need to pick your brains.

I have been creating a custom header for the ability theme on our dev site. http://dev.robertsonpackaging.com

Now I'm not great at web design stuff so the grid system is really pickling my head. Is there a tutorial on this or anything?

I've got the header looking almost the way I want it just by messing about with the code and css but I can't get it exactly as I want.

Here is what it looks like now and below that is the way I want it to look. I'm sure it's not a big task but as I said I can't get my head around this whole grid thing.

http://dev.robertsonpackaging.com/images/support/original.jpg

and the way I would like it to look

http://dev.robertsonpackaging.com/images/support/desired.jpg

Here is code I used in header_style_custom.tpl

Code:
<div class="grid_3"> {include file="custom/header/content/header_logo.tpl"} <div class="clearing"></div> </div> <div class="grid_3"> <br><h2 class="h2_header_phone_new">Sales: {$config.Company.company_phone}</h2><p> <h2 class="h2_header_phone_new">Fax: {$config.Company.company_fax}</h2> <div class="clearing"></div> </div> <div class="grid_16 omega"> {include file="custom/header/content/header_minicart.tpl"} <br><br><br>{include file="custom/header/content/header_dropdown.tpl"} <div class="clearing"></div> </div> <div class="clearing"></div>

and here is the custom css I put in common.css
Code:
.h2_header_phone_new { color: #fff; font-size: 1.9em; right no-repeat; background-position: 0% 4px; text-align: left; }
__________________
Live Version : 4.5.2
Licensed Products:
X-Cart Gold
Ability Theme
CDSEO
xCMS
Abandoned Cart
Food Packaging Scotland
Reply With Quote
  #360  
Old 08-03-2012, 05:42 AM
  David-Allan's Avatar 
David-Allan David-Allan is offline
 

eXpert
  
Join Date: Oct 2011
Location: Scotland, UK
Posts: 313
 

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

ok i'm getting closer.

http://dev.robertsonpackaging.com/images/support/v2.jpg

I changed the size of the search bar in the options and changed the code to look like this.

Code:
<div class="grid_3"> {include file="custom/header/content/header_logo.tpl"} <div class="clearing"></div> </div> <div class="grid_3"> <br><h2 class="h2_header_phone_new">Sales: {$config.Company.company_phone} Fax: {$config.Company.company_fax}</h2><p> <div class="clearing"></div> </div> <div class="grid_16 omega"> <br>{include file="custom/header/content/header_minicart.tpl"}{include file="custom/header/content/header_dropdown.tpl"} <div class="clearing"></div> {include file="custom/header/content/header_search.tpl"} <div class="clearing"></div> </div> <div class="clearing"></div>

All I need to do now is justify the search bars to the right and the text along the middle

Any help would be greatly appreciated
__________________
Live Version : 4.5.2
Licensed Products:
X-Cart Gold
Ability Theme
CDSEO
xCMS
Abandoned Cart
Food Packaging Scotland
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 06:33 AM.

   

 
X-Cart forums © 2001-2020