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 02-08-2012 01:34 PM

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

Did you test ST on 4.4.5 yet? Any issues?

Yes, the current demo is based on X-Cart v4.4.5. No issues so far.

flyclothing 02-11-2012 02:21 PM

Re: X-Cart Smart Template v4.4.x
 
How do you add new social links at bottom of site? I would like to add pinterest but it's not showing. I have already added the image to the image folder and added this to the footer:

Quote:

<li class="social_6"><a target="_blank" rel="nofollow" href="http://pinterest.com/flyclothing/">Pinterest</a></li>


and this to the theme css

Quote:

.footer_nav_last li.social_6 a:link,
.footer_nav_last li.social_6 a:visited { color: #fff; text-decoration: none; background: url(../images/social/32/pinterest.png) 3px no-repeat; }


but the image is not showing up properly. It also looks like I need to increase the footer height.

torbenbendixen 02-18-2012 05:05 AM

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

Originally Posted by PhilJ
Mr G, try the attached.


I can't get this 404 error page to work.
Is there any fix to this?

Thank you.

taegon 02-22-2012 03:21 PM

Re: X-Cart Smart Template v4.4.x
 
In the New Products and the Random Products Modules on the home page, I am getting inaccurate prices. I mean they are close, but not correct to any of the options or combinations of options. The slider works well.

Happened after upgrade from 4.4.2 to 4.4.5.

Any ideas would be appreciated

flyclothing 02-28-2012 03:22 PM

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

I followed the instructions for the countdown mod on #72 but it is not working. I've added the countdown ticker to the cart for a leap year sale, modified the text and changed the dates in skin/smart_template/custom/js/countdown/countdown.js but it's still not working. Any guesses why?

Also, any update to the affiliate section in the Smart Template?

torbenbendixen 03-02-2012 03:54 AM

Re: Custom custom ;) 404 error page
 
Quote:

Originally Posted by Mr. G
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! 8-) 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!


When the CleanURLs are enabled, the <xcart-dir>/dispatcher.php script handles the '404 Page not found' errors. In this case the error message page is returned by the "func_page_not_found" function which can be found in the <xcart-dir>/include/func/func.core.php script.

In order to make it so that the custom pages of the 'Custom_404_Page' module will be shown, you must add the code below to the beginning of the "func_page_not_found" function in the <xcart-dir>/include/func/func.core.php script:
Code: text
if (is_readable($xcart_dir . '/your-404-error-filename.php')) {
func_header_location('your-404-error-filename.php');
}

That did the trick for me.

PhilJ 03-02-2012 06:12 AM

Re: X-Cart Smart Template v4.4.x
 
Minor fix for Chrome not displaying product prices and buttons in products list...

skin/smart_template/custom/css/common.css

Replace...

Code:

ul.grid_view li .product_block .overflow { overflow: hidden; } /* New */

With...

Code:

ul.grid_view li .product_block .overflow { overflow: hidden; clear: both; } /* New */

info@ausnetit.com.au 03-03-2012 12:33 AM

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

I'm using Version 4.4.4and having issues with IE 8.0?

http://www.lankadeals.com.au

Any idea pls.

taegon 03-03-2012 09:46 AM

Re: X-Cart Smart Template v4.4.x
 
How do I edit the "Random Products" and the "New Products" Blocks Layout on the Home Page? Change from 3 to 4 products and truncate the Title to 30 characters.

How do I edit "the "Grid View" Layout on the Category/Products Page?

Mr. G 03-03-2012 12:57 PM

Re: Custom custom ;) 404 error page
 
Quote:

Originally Posted by torbenbendixen
When the CleanURLs are enabled, the <xcart-dir>/dispatcher.php script handles the '404 Page not found' errors. In this case the error message page is returned by the "func_page_not_found" function which can be found in the <xcart-dir>/include/func/func.core.php script.

In order to make it so that the custom pages of the 'Custom_404_Page' module will be shown, you must add the code below to the beginning of the "func_page_not_found" function in the <xcart-dir>/include/func/func.core.php script:
Code: text
if (is_readable($xcart_dir . '/your-404-error-filename.php')) {
func_header_location('your-404-error-filename.php');
}

That did the trick for me.

Yes, finally, that is the solution. It's working for me. (I'm getting the 404 page inside the Smart Template skin.) Thanks!!!!!!


All times are GMT -8. The time now is 11:57 AM.

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