X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Adding menu to welcome.tpl (https://forum.x-cart.com/showthread.php?t=43215)

jkirkpatrick 10-24-2008 11:44 AM

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

balinor 10-24-2008 11:55 AM

Re: Adding menu to welcome.tpl
 
You just want them added to the home page or every page?

jkirkpatrick 10-24-2008 12:37 PM

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.

balinor 10-24-2008 12:38 PM

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....

jkirkpatrick 10-24-2008 12:44 PM

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?

balinor 10-24-2008 12:44 PM

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.

jkirkpatrick 10-24-2008 01:05 PM

Re: Adding menu to welcome.tpl
 
Thank you! Worked perfectly.

Jennifer


All times are GMT -8. The time now is 02:25 PM.

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