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)
-   -   Need pages with no left menu... (https://forum.x-cart.com/showthread.php?t=12754)

jkirkpatrick 03-11-2005 12:12 PM

Need pages with no left menu...
 
Hello,

I need to have a couple of pages that don't have the standard menu on the left side and use the whole screen.

Anyone know how I can delete the menu for these specific pages and use the space where it was for content?

Thanks,
Jennifer

balinor 03-11-2005 12:21 PM

You could do a root level static page instead of an embedded static page.....

jkirkpatrick 03-11-2005 12:26 PM

Won't that get rid of my header and footer as well though?

I need those to stay, just not the menu...

Jennifer

balinor 03-11-2005 12:32 PM

Well, you could either include the header and footer in the static page, or you could surround the menu with an {if} statement....

jkirkpatrick 03-11-2005 12:38 PM

What would the {if} statement be? That's my problem, I don't know the coding well enough to make something like that work...

Jennifer

Jon 03-11-2005 01:46 PM

It depends on what page(s) you want to remove it on.

In general, pages are called with a "main" variable.

{if $main eq "help"} do this
{else} do this instead
{/if}

You can view the "main" variable in the php file.

You can remove the left side in skin1/customer/home.tpl but you may have to edit some "colspan" entries also.

Jerrad 03-12-2005 02:00 AM

hi Balinor,
Could you please explain how to include the header and footer in
a root level static page?

Thanks!

jkirkpatrick 03-12-2005 05:00 AM

I'm not sure I'm clear on this yet.

Let's use the shopping cart as an example because that 's one of the places where I'd like to remove the left menu.

In cart.php I can delete the "categories" file so the menu doesn't show up. But I don't know how to actually use that space. All my tables on the page are set to width="100%" but they still don't fill up where the menu was.

Any idea how I move those tables over?

Thanks,
Jennifer

balinor 03-12-2005 05:03 AM

That is because the table column is still there. You can't just remove the menus, you would have to remove that whole first column....

jkirkpatrick 03-12-2005 05:11 AM

That's what I'm trying to learn how to do...

Would that be done in cart.php? Would I need an {if} statement?

Specifics would be greatly appreciated :)

Thanks,
Jennifer


All times are GMT -8. The time now is 03:05 PM.

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