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 12-07-2010 08:20 AM

Re: X-Cart Smart Template v4.4.x
 
Hi Masada, thank you for your comments :)

You can add keywords before and/or after the title tags with this quick hack... But be warned, they will appear everywhere.

include/templater/plugins/function.get_title.php

Before...
Code:


    return '<title>' . $title . '</title>';

Insert...
Code:


 // Custom title keywords start
 $title_before = "BEFORE KEYWORDS";
 $title_after = "AFTER KEYWORDS";
 $title = $title_before . " " . $title . " " . $title_after;
 // Custom title keywords end


While you're at it, I'd advise changing this line...
Code:


        $title = str_replace(array("\n", "\r"), array('', ''), trim(implode(' :: ', $tmp)));

to...
Code:


        $title = str_replace(array("\n", "\r"), array('', ''), trim(implode(' - ', $tmp)));

(no need for the silly double colons)

masada3336 12-07-2010 08:36 AM

Re: X-Cart Smart Template v4.4.x
 
Phil, you ROCK! That's a huge part of my SEO organic search rankings!
Thanks a MILLION!

masada3336 12-07-2010 10:23 AM

Re: X-Cart Smart Template v4.4.x
 
Phil,
One minor thing I've noticed is a weird thing with the horizontal custom menu. Some menu items seem not to have a background if they have children. Do you know what could cause this? You can see it by going to my site ( http://sustainableseedco.com ) and trying to navigate under "Education" - you'll see the line item "Seed Saving" doesn't have a background.
Thanks!

PhilJ 12-07-2010 10:28 AM

Re: X-Cart Smart Template v4.4.x
 
Make sure "Seed Saving" has a link, even if it's just an anchor link...
Code:


<li><a href="#">Seed Saving</a>


clearwat 12-10-2010 09:28 AM

Smart Template v4.4.x with Frontpage Slideshow
 
Hi Phil,

I've set up Frontpage Slideshow and would like it to be in the Featured Products box, instead of the content presently there. Haven't been able to find the correct template to work with. As a work around, I *could* remove the FP box altogether, but again, searching in vain for the template.

Also have noticed that the news ticker no longer is animated after loading FPSS, whether it's set up with jquery or mootools.

Except for this one instance, I've had good luck customizing Smart Template.

Thanks for your time.

PhilJ 12-10-2010 10:45 AM

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

I personally wouldn't recommend using FPSS, especially with Mootools, as people have experienced conflicts with the 'ajax add to cart' and other things.

The welcome template is skin/smart_template/customer/main/welcome.tpl

Please consult the FAQs section for answers to basic questions.

candc 12-10-2010 11:11 AM

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

Also have noticed that the news ticker no longer is animated after loading FPSS, whether it's set up with jquery or mootools.

Spent many a happy hour trying to get FPSS to work. Not a chance. We found the news ticker, layout switchers, Ajax cart all conflicted.

Have you had a look at the slider? This works perfectly:D

clearwat 12-10-2010 12:18 PM

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

Thanks for the response. I haven't noticed any Ajax checkout problems - yet.

Which slider are you referring to? URL?

clearwat 12-10-2010 12:46 PM

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

Originally Posted by PhilJ
Hi Dan,

I personally wouldn't recommend using FPSS, especially with Mootools, as people have experienced conflicts with the 'ajax add to cart' and other things.

The welcome template is skin/smart_template/customer/welcome.tpl

Please consult the FAQs section for answers to basic questions.


Interesting...in my smart template file structure that file does not exist. I do have a welcome.tpl in skin/smart_template/customer/main/welcome.tpl...is that what you mean?

But actually, I am looking for a way to edit/modify/even delete the smart_template Featured Products box...can you point me in the right direction for this?

Thanks for your time.

clearwat 12-10-2010 04:48 PM

Re: X-Cart Smart Template v4.4.x
 
I was able to delete the Featured Products box and include the FPSS in a "new" FP category.

Still have not encountered any issues with FPSS and Ajax checkout.


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

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