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

Adding menu to welcome.tpl

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-24-2008, 11:44 AM
 
jkirkpatrick jkirkpatrick is offline
 

Senior Member
  
Join Date: Jan 2005
Posts: 193
 

Default Adding menu to welcome.tpl

Hello,

I'm back again hoping someone can help. Thank you everyone for all the questions you've answered for me already!

What I'm wondering is what code I need to add to welcome.tpl to have the leftside menus displayed. There is the subcategories menu, minicart and my newsletter signup that I need added to the home page.

Any help would be greatly appreciated.

Thanks,
Jennifer
__________________
Jennifer Kirkpatrick
X-Cart Pro Version 4.4.1
AND
X-Cart Gold Version 4.1.9
Reply With Quote
  #2  
Old 10-24-2008, 11:55 AM
 
balinor balinor is offline
 

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

Default Re: Adding menu to welcome.tpl

You just want them added to the home page or every page?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 10-24-2008, 12:37 PM
 
jkirkpatrick jkirkpatrick is offline
 

Senior Member
  
Join Date: Jan 2005
Posts: 193
 

Default Re: Adding menu to welcome.tpl

They are already on every other page of the site (except the cart, but I don't want them there).

So I just want it to look the same on the home page as well.
__________________
Jennifer Kirkpatrick
X-Cart Pro Version 4.4.1
AND
X-Cart Gold Version 4.1.9
Reply With Quote
  #4  
Old 10-24-2008, 12:38 PM
 
balinor balinor is offline
 

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

Default Re: Adding menu to welcome.tpl

Odd, welcome.tpl should be contained inside the menus - so there must be an {if} statement that is hiding them on the home page....
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 10-24-2008, 12:44 PM
 
jkirkpatrick jkirkpatrick is offline
 

Senior Member
  
Join Date: Jan 2005
Posts: 193
 

Default Re: Adding menu to welcome.tpl

Ahhh... I didn't think of that.

I have this IF statement directly above the first item that shows up on the left menu:

Code:
{if $main ne "catalog" || $current_category.category ne ""}

Could it be that?
__________________
Jennifer Kirkpatrick
X-Cart Pro Version 4.4.1
AND
X-Cart Gold Version 4.1.9
Reply With Quote
  #6  
Old 10-24-2008, 12:44 PM
 
balinor balinor is offline
 

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

Default Re: Adding menu to welcome.tpl

Yea, that's what is doing it. Remove that, and the closing {/if} statement at the end, and it should show on the home page as well.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 10-24-2008, 01:05 PM
 
jkirkpatrick jkirkpatrick is offline
 

Senior Member
  
Join Date: Jan 2005
Posts: 193
 

Default Re: Adding menu to welcome.tpl

Thank you! Worked perfectly.

Jennifer
__________________
Jennifer Kirkpatrick
X-Cart Pro Version 4.4.1
AND
X-Cart Gold 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 03:33 PM.

   

 
X-Cart forums © 2001-2020