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

Featured Products Question

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 10-26-2007, 08:52 AM
  hoosierglass's Avatar 
hoosierglass hoosierglass is offline
 

X-Adept
  
Join Date: Aug 2006
Location: Zionsville, IN
Posts: 974
 

Default Re: Featured Products Question

That is all I did and then the featured menu bar with title dialog appeared at the top of the screen on customer side and the txt label for no featured products appeared below the welcome text.
__________________
X-Cart Gold 4.7.7
Custom Work from www.luminointernet.com
www.indy-pen-dance.com
Reply With Quote
  #12  
Old 10-26-2007, 09:38 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Featured Products Question

So you moved the initial {if} statement to the top, and the closing if under everything? That sounds like you didn't move one or the other...
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #13  
Old 10-26-2007, 11:19 AM
  hoosierglass's Avatar 
hoosierglass hoosierglass is offline
 

X-Adept
  
Join Date: Aug 2006
Location: Zionsville, IN
Posts: 974
 

Default Re: Featured Products Question

I cut and pasted what YOU posted.
__________________
X-Cart Gold 4.7.7
Custom Work from www.luminointernet.com
www.indy-pen-dance.com
Reply With Quote
  #14  
Old 10-27-2007, 09:31 PM
 
MoonDog MoonDog is offline
 

Advanced Member
  
Join Date: Aug 2007
Posts: 93
 

Default Re: Featured Products Question

I think the {else} statement might be giving you the problem.

Just remove
Code:
{else} {$lng.txt_no_featured}
from Balinor's code and then it should be working fine.

- MoonDog -
__________________
X-CART Gold v4.1.8
Reply With Quote
  #15  
Old 10-29-2007, 04:53 AM
  hoosierglass's Avatar 
hoosierglass hoosierglass is offline
 

X-Adept
  
Join Date: Aug 2006
Location: Zionsville, IN
Posts: 974
 

Default Re: Featured Products Question

Good catch MoonDog! That worked like a charm.

The shocker is finding Balinor is faulable!

Seriously thanks for all the help from everyone.
Mike
__________________
X-Cart Gold 4.7.7
Custom Work from www.luminointernet.com
www.indy-pen-dance.com
Reply With Quote
  #16  
Old 10-29-2007, 04:56 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Featured Products Question

Hey I'm only human...sorry for the error.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #17  
Old 10-29-2007, 05:33 PM
 
MoonDog MoonDog is offline
 

Advanced Member
  
Join Date: Aug 2007
Posts: 93
 

Default Re: Featured Products Question

hoosierglass,

Glad you got it working.

Quote:
The shocker is finding Balinor is faulable!
Actually he's not. I remembered this {if} , {else} code from one of his posts.
I think it's post #13,684...; no wait that's not it. It's post #16,834....; No not that one either. It's ..........

Seriously speaking though, when I go on the forums I also open up a blank text file. When I see code I like or that I may be able to use, I cut and paste it to my text file. I now have quite a few text files on my drive with copied code. Since I'm new to x-cart I play around with the code I copied and see what it can do. I would say that about 80% of the code I copied was posted from Balinor. Thanks Balinor.

- MoonDog -

Still looking, post #11,582.......mmmm.....post #15,721?.....
__________________
X-CART Gold v4.1.8
Reply With Quote
  #18  
Old 11-23-2007, 03:21 AM
 
YBA YBA is offline
 

Member
  
Join Date: Nov 2007
Location: NSW, Australia
Posts: 11
 

Default Re: Featured Products Question

Hello

I am trying to do the same thing - ie remove the featured products from the home page.

Which tpl file do I need to edit? Is it /customer/main/featured.tpl
__________________
Cheers
Danielle
Your Business Assistant
http://www.yourbusinessassistant.com.au

X-Cart Site - http://www.tentmotel.com.au/home.php?shopkey=123

Version 4.1.9
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 08:45 AM.

   

 
X-Cart forums © 2001-2020