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

X-Cart Smart Template v4.4.x

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #81  
Old 12-07-2010, 08:20 AM
 
PhilJ PhilJ is offline
 

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

Default 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)
__________________
xcartmods.co.uk
Reply With Quote

The following user thanks PhilJ for this useful post:
KingPimp (08-12-2011)
  #82  
Old 12-07-2010, 08:36 AM
 
masada3336 masada3336 is offline
 

Senior Member
  
Join Date: Jan 2009
Posts: 115
 

Default 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!
__________________
4.4.5 - with Customized Smart Template
Reply With Quote
  #83  
Old 12-07-2010, 10:23 AM
 
masada3336 masada3336 is offline
 

Senior Member
  
Join Date: Jan 2009
Posts: 115
 

Default 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!
__________________
4.4.5 - with Customized Smart Template
Reply With Quote
  #84  
Old 12-07-2010, 10:28 AM
 
PhilJ PhilJ is offline
 

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

Default 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>
__________________
xcartmods.co.uk
Reply With Quote
  #85  
Old 12-10-2010, 09:28 AM
 
clearwat clearwat is offline
 

Advanced Member
  
Join Date: Oct 2010
Posts: 34
 

Default 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.
__________________
Dan Eskelson
X-Cart 4.4.1 Gold
The Landscape Market
Reply With Quote
  #86  
Old 12-10-2010, 10:45 AM
 
PhilJ PhilJ is offline
 

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

Default 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.
__________________
xcartmods.co.uk
Reply With Quote
  #87  
Old 12-10-2010, 11:11 AM
 
candc candc is offline
 

eXpert
  
Join Date: Jul 2009
Location: UK
Posts: 292
 

Default 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
__________________
Ver 4.4.4 Gold
Ability
BCSE Pre Order
BCSE Global Product Options
BCSE Stock Notify
CDSEO Pro
MM OPC - Gave up with it
Altered Cart OPC
XMobile
Powered by EWD

Ver 4.4.4 Gold
Ability
BCSE Pre Order
BCSE Global Product Options
BCSE Stock Notify
CDSEO Pro
Altered Cart OPC
XMobile
Powered by EWD
Reply With Quote
  #88  
Old 12-10-2010, 12:18 PM
 
clearwat clearwat is offline
 

Advanced Member
  
Join Date: Oct 2010
Posts: 34
 

Default 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?
__________________
Dan Eskelson
X-Cart 4.4.1 Gold
The Landscape Market
Reply With Quote
  #89  
Old 12-10-2010, 12:46 PM
 
clearwat clearwat is offline
 

Advanced Member
  
Join Date: Oct 2010
Posts: 34
 

Default 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.
__________________
Dan Eskelson
X-Cart 4.4.1 Gold
The Landscape Market
Reply With Quote
  #90  
Old 12-10-2010, 04:48 PM
 
clearwat clearwat is offline
 

Advanced Member
  
Join Date: Oct 2010
Posts: 34
 

Default 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.
__________________
Dan Eskelson
X-Cart 4.4.1 Gold
The Landscape Market
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 12:52 AM.

   

 
X-Cart forums © 2001-2020