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
  #131  
Old 02-04-2012, 06:22 AM
 
PhilJ PhilJ is offline
 

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

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

Quote:
just installed ability 4.4.5 transparent back ground images do not show when trying to modify template
Have you uploaded the additional graphic images that were mentioned in your order email?
__________________
xcartmods.co.uk
Reply With Quote
  #132  
Old 02-05-2012, 09:43 AM
 
PhilJ PhilJ is offline
 

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

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

Shop by price addon for Ability... Demo

1) Apply SQL patch...

Code:
REPLACE INTO xcart_languages SET code='en', name='lbl_search_by_price', value='Search By Price', topic='Labels';

2) Upload attached file to skin/ability/customer

3) Add this code wherever you want the menu box to appear...

Code:
{include file="customer/search_by_price.tpl"}
Attached Files
File Type: tpl search_by_price.tpl (2.6 KB, 6 views)
__________________
xcartmods.co.uk
Reply With Quote

The following user thanks PhilJ for this useful post:
swartzieee (02-06-2012)
  #133  
Old 02-11-2012, 03:36 PM
  swartzieee's Avatar 
swartzieee swartzieee is offline
 

Advanced Member
  
Join Date: Feb 2010
Posts: 58
 

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

Phil,

I just enabled a Special Offer and this caused the product windows to mess up the page. I have added an image to show you. Please assist I would like to run this Special Offer.

http://buckeyefanapparel.com/specialoffer_error.jpg
Attached Images
File Type: jpg specialoffer_error.JPG (15.5 KB, 26 views)
__________________
4.7.11
BuckeyeFanApparel.com
Reply With Quote
  #134  
Old 02-12-2012, 01:57 PM
 
bf2017 bf2017 is offline
 

Member
  
Join Date: Nov 2011
Posts: 27
 

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

With Phil's permission, I am posting this mod for the Welcome Promotions.

What I wanted to do is to be able to change/add images, titles, descriptions, and links for the individual promotions right from the admin/general settings page instead of having to "hard-code" the individual pages themselves. The Flash Slider promo isn't included in this mod, so it won't change any of that promotion.

To do this, I created a category tree (WELCOME_PROMOS) in the xcart_categories table. The entire category is by default set to “DISABLED” so that it won’t be displayed in any dropdown menus. This category tree is where you will upload your promo images (just like uploading any other category image). The sub-categories correlate to the individual promotions images.

(Example: )
(ROOT)
WELCOME_PROMOS
(SUB-CAT)
FEATURED_IMAGE_BOX
(SUB-CAT)
FIB_LARGE (740 X 240)
(SUB-CAT)
FIB_LG_01 (image 1 in the Featured Image Box Large Promotion)
FIB_LG_02 (image 2 in the Featured Image Box Large Promotion)
FIB_LG_03 (image 3 in the Featured Image Box Large Promotion)
FIB_LG_04 (image 4 in the Featured Image Box Large Promotion)

ETC. ETC.

From the ADMIN/GENERAL SETTINGS page click on the individual promo link on the right. That will take you to that promo page where you may add titles, descriptions, and links.

Everything needed for this mod, including detailed instructions, patch install/uninstall.sql, and modded .tpl files, is included in the .zip attachment. There are a total of 4 install steps.

Files that have been modded:

/skin/ability/custom/welcome/promotions/accordion/accordion.tpl
/skin/ability/custom/welcome/promotions/featured_box/featured_box_large.tpl
/skin/ability/custom/welcome/promotions/featured_box/featured_box_medium.tpl
/skin/ability/custom/welcome/promotions/featured_box/featured_box_small.tpl
/skin/ability/custom/welcome/promotions/image_roundabout/image_roundabout.tpl
/skin/ability/custom/welcome/promotions/image_slider/image_slider.tpl


REMEMBER TO BACKUP YOUR DATABASE AND THE ORIGINAL .TPL FILES.

Any questions, feel free to ask.

Brian
Attached Files
File Type: zip Ability_Promotions_Mod.zip (26.2 KB, 9 views)
__________________
4.4.5 Gold
Reply With Quote

The following user thanks bf2017 for this useful post:
PhilJ (02-12-2012)
  #135  
Old 02-13-2012, 02:52 AM
  David-Allan's Avatar 
David-Allan David-Allan is offline
 

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

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

Hi Guys,

Does anyone know how to show accurate Google map locations on the contact page? I have tried hard coding the longitude and latitude in to the map.tpl code but it still keeps going to the street down from us. I have also tried putting the full address that Google places uses on the map but it does the same thing.

Rather annoying as it shows our competitions building instead of ours

Another issue I have is that on the top right of each page there is a drop down menu that only has about in it, how do I fill this with other pages or remove it altogether as I don't really see the point of it if it only has the about page in it.

Here's the one I mean.

http://www.1guyseo.com/images/Screener.png
__________________
Live Version : 4.5.2
Licensed Products:
X-Cart Gold
Ability Theme
CDSEO
xCMS
Abandoned Cart
Food Packaging Scotland
Reply With Quote
  #136  
Old 02-13-2012, 06:13 AM
 
PhilJ PhilJ is offline
 

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

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

1) Re. map, for a more precise marker location, in skin/ability/custom/addons/maps/maps.tpl

Replace...

Code:
Address : "{/literal}{$config.Company.location_zipcode}, {$config.Company.location_country}{literal}",

With...

Code:
Address : "your more exact location here",

You may be able to insert longitude/latitude values in their also. Might take a little experimenting with to get exactly right.

2) Re dropdown for static pages, in skin/ability/customer/main/pages.tpl

Replace...

Code:
<form style="float:right;"> <select onchange="select_go('parent',this,0)" class="chzn-select" style="width:180px;"> {foreach from=$pages_menu item=p name=page} {if $p.show_in_menu eq 'Y'} <option value="pages.php?pageid={$p.pageid}"{if $smarty.get.pageid eq $p.pageid} selected{/if}>{$p.title|amp}</option> {/if} {/foreach} </select> </form>

With...
Code:
&nbsp;
__________________
xcartmods.co.uk
Reply With Quote

The following user thanks PhilJ for this useful post:
David-Allan (02-13-2012)
  #137  
Old 02-13-2012, 06:24 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

Quote:
Originally Posted by PhilJ
1) Re. map, for a more precise marker location, in skin/ability/custom/addons/maps/maps.tpl

Replace...

Code:
Address : "{/literal}{$config.Company.location_zipcode}, {$config.Company.location_country}{literal}",

With...

Code:
Address : "your more exact location here",

You may be able to insert longitude/latitude values in their also. Might take a little experimenting with to get exactly right.

2) Re dropdown for static pages, in skin/ability/customer/main/pages.tpl

Replace...

Code:
<form style="float:right;"> <select onchange="select_go('parent',this,0)" class="chzn-select" style="width:180px;"> {foreach from=$pages_menu item=p name=page} {if $p.show_in_menu eq 'Y'} <option value="pages.php?pageid={$p.pageid}"{if $smarty.get.pageid eq $p.pageid} selected{/if}>{$p.title|amp}</option> {/if} {/foreach} </select> </form>

With...
Code:
&nbsp;

Thanks Phil, that did the trick with the drop down menu, no idea why it wasn't showing the static pages but looks better with it gone now rather than with it there and not working.

As for the maps, I think this is an issue with Google Maps as it doesn't matter if I put the exact address in or the long and lat it still shows the street down from us. I have tried other addresses and they work fine so it must be something to do with Google Maps, just strange as it works fine on the Google Maps web page.
__________________
Live Version : 4.5.2
Licensed Products:
X-Cart Gold
Ability Theme
CDSEO
xCMS
Abandoned Cart
Food Packaging Scotland
Reply With Quote
  #138  
Old 02-13-2012, 04:35 PM
 
chrisinoz chrisinoz is offline
 

eXpert
  
Join Date: Aug 2004
Location: Australia
Posts: 248
 

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

Hi - I have tried 2 clean install attempts on latest 4.4.5 and in both cases I get almost a blank screen - anyone have any ideas on this?

http://nautical.eziedit.com/

Shows fine in admin area as a template.

I am loading on evaluation mode 4.4.5 at this point - not sure if that would make a difference.

Thanks
Chris
__________________
Chris G
Humble web designer
Version 4.07 - 4.45
Reply With Quote
  #139  
Old 02-14-2012, 06:30 AM
 
PhilJ PhilJ is offline
 

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

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

Quote:
Hi - I have tried 2 clean install attempts on latest 4.4.5 and in both cases I get almost a blank screen - anyone have any ideas on this?

Hi Chris,

This usually happens when the patch has not been applied successfully. Try applying it again, then clear the x-cart/template cache.
__________________
xcartmods.co.uk
Reply With Quote
  #140  
Old 02-14-2012, 07:59 AM
 
PhilJ PhilJ is offline
 

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

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

Quote:
I just enabled a Special Offer and this caused the product windows to mess up the page. I have added an image to show you. Please assist I would like to run this Special Offer.

swartzieee, when you add a special offer, it should look like this

Have you modified the products grid/row switcher page at all?
__________________
xcartmods.co.uk
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 05:30 AM.

   

 
X-Cart forums © 2001-2020