| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Need pages with no left menu... | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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
__________________
Jennifer Kirkpatrick X-Cart Pro Version 4.4.1 AND X-Cart Gold Version 4.1.9 |
|||||||
#2
|
|||||||
|
|||||||
![]() You could do a root level static page instead of an embedded static page.....
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Won't that get rid of my header and footer as well though?
I need those to stay, just not the menu... Jennifer
__________________
Jennifer Kirkpatrick X-Cart Pro Version 4.4.1 AND X-Cart Gold Version 4.1.9 |
|||||||
#4
|
|||||||
|
|||||||
![]() Well, you could either include the header and footer in the static page, or you could surround the menu with an {if} statement....
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() 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
__________________
Jennifer Kirkpatrick X-Cart Pro Version 4.4.1 AND X-Cart Gold Version 4.1.9 |
|||||||
#6
|
|||||||||
|
|||||||||
![]() 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. |
|||||||||
#7
|
|||||||
|
|||||||
![]() hi Balinor,
Could you please explain how to include the header and footer in a root level static page? Thanks!
__________________
X-Cart 4.0.12 Heavy modified with paid, free and forum mods. PHP 5.2.5 | MYSQL 5.0.51a |
|||||||
#8
|
|||||||
|
|||||||
![]() 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
__________________
Jennifer Kirkpatrick X-Cart Pro Version 4.4.1 AND X-Cart Gold Version 4.1.9 |
|||||||
#9
|
|||||||
|
|||||||
![]() 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....
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#10
|
|||||||
|
|||||||
![]() 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
__________________
Jennifer Kirkpatrick X-Cart Pro Version 4.4.1 AND X-Cart Gold Version 4.1.9 |
|||||||
|
|||
X-Cart forums © 2001-2020
|