| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
X-Cart Ability Template v4.4.x | ||||
![]() |
|
|
Thread Tools |
#281
|
|||||||
|
|||||||
![]() It appears Ability Template doesn't provide any built-in way to serve a 404 error page that uses the template. Am I missing something? Older versions of xcart used a static error page which readily integrated into the store's active template (but perhaps gave substandard 404 server responses?).
XCart 4.4.5 now serves the 404 error page (somehow) by way of a template found here skin/common_files/404/404_en.html which renders an error response page that doesn't even remotely resemble the Ability template. The 404 template file can be customized--though it doesn't look easy to customize it to match the rest of my site (and the source code is protected). Can a 404 error page be enabled/created that meets 404 standards AND reproduces the header/footer/main menu of the Ability template pages of my site? How? Thanks as always for help with this (brilliant) template. XCart 4.4.5 Ability Template 1.051 www.twinoakshammocks.com is the live URL. The development URL is not live on the web (is in a password protected folder).
__________________
J McCune Porter | twinoakshammocks.com X-Cart Gold version 4.7.11, unix server X-Cart reBOOT Template by X-Cart Mods |
|||||||
#282
|
|||||||
|
|||||||
![]() As far as I'm aware it hasn't got anything to do with Ability as it's just a skin template, although I'm probably wrong.
I use CDSEO, which provide me a 404 Custom Error page. (If your not using CDSEO I advise you do as it's great)
__________________
Xcart 4.5.2 |
|||||||
|
#283
|
|||||||
|
|||||||
![]() Quote:
Did anyone find a solution to this?
__________________
4.4.5 Gold |
|||||||
#284
|
|||||||
|
|||||||
![]() Hi, I am sorry if it was asked before, I looked some back and didn't see:
Is the template good for 4.5.0 as well? Thanks
__________________
4.2.1 X-Special Offers Quote Request |
|||||||
#285
|
|||||||
|
|||||||
![]() Quote:
__________________
xcartmods.co.uk |
|||||||
#286
|
|||||||
|
|||||||
![]() Quote:
Here's how... 1) Upload new file (attached below) skin/ability/custom/addons/image_preview/image_preview_featured.tpl 2) featured_products.php After... Code:
Insert... Code:
3a) skin/ability/customer/main/featured.tpl Replace... (this appears twice) Code:
With... Code:
3b) skin/ability/customer/main/featured.tpl At the very bottom, insert... Code:
4) skin/ability/custom/custom_styles.tpl Replace... Code:
With... Code:
5) skin/ability/custom/addons/addons_common.tpl Replace... Code:
With... Code:
__________________
xcartmods.co.uk |
|||||||
#287
|
|||||||
|
|||||||
![]() There is a minor bug that occur only when SEO clean URLs are enabled in x-cart AND you have Ability template's "Redirect old IE browsers to browser upgrade page" enabled.
This causes a 404 error when the browser tries to go to a category .e.g www.xyz.com/My-Category/ as it tries to redirect via JS to "upgrade.html", which in this case means it tries to go to www.xyz.com/My-Category/upgrade.html instead of www.xyz.com/upgrade.html. All I did to fix this was to add / in in front of /upgrade.html in /skin/ability/custom/common.tpl on line 99 so it looks like this: <script type="text/javascript"> window.location="/upgrade.html"; </script> Please note I found this to be a problem when using Google Adwords as the resulting 404 error was causing the ads submitted with clean URLs to fail but would work fine without them be cause the path was valid as it was in the root URL. It is an odd combination but it can be a huge pain in the lower back if you are using Adwords.
__________________
Version 4.5.0 with Ability Template v1.052 (modified) LAWP - PHP 5.3.29 (patched) - MySQL - 5.0.96 Community - suPHP |
|||||||
|
#288
|
|||||||||
|
|||||||||
![]() Hey guys,
I want to add the nivo slider to my homepage. I could probably just hard code it in but would like to add it as an option in the admin section like the other homepage promotion items. I have added the if statement in to promotions_common.tpl and the else if in to the welcome.tpl but can't for the life of me find where the admin code is kept. I tried grepping for "image slider" & "Featured Image Box" in the root of my site recursively but couldn't find any references to them. I'm confused. Could anyone give me a little nudge in the right direction please? Thanks D-A
__________________
Live Version : 4.5.2 Licensed Products: X-Cart Gold Ability Theme CDSEO xCMS Abandoned Cart Food Packaging Scotland |
|||||||||
#289
|
|||||||||
|
|||||||||
![]() That exact text may not be in the code but in a Language variable. Try finding the variable name in Languages then grep for that.
|
|||||||||
#290
|
|||||||
|
|||||||
![]() Quote:
The variant options for the homepage promotions on the Ability Template options tab in admin is in your xcart_config table in your X-Cart database. In PhpMyAdmin, go to your xcart_config table of your X-Cart database. Do a search of the name column for abi_home_promotions. Add "nivo_slider: Nivo Slider" (without the parenthesis) to the variants column. Then your if/else statements should start with: {if $config.Ability_Template.abi_home_promotions eq "nivo_slider"} Hope this helps. Brian
__________________
4.4.5 Gold |
|||||||
![]() |
|
Thread Tools | |
|
|
|
|||
X-Cart forums © 2001-2020
|