| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Remove Menu from Custom Page in Admin Area | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hello,
I have created a price book which outputs all of the active products with sku and price sorted by categories. The way I have it setup now is when you click on the link it will open up a new window with the price book and admins can just print it from there. The only issue is the admin menu gets in the way of the printing. What I would like to do is remove at least the admin menu and the breadcrumb, I will most likely keep the header unless there's a way to remove all of them. If anyone has any hints on how to remove at least the menu that would be excellent. Cheers
__________________
Sean X-Cart Gold - 4.2.1 PHP - 5.2.9-1 MySQL - 5.1.32 IIS 6.0 w/ FastCGI Windows Server 2003 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() You can probably get what you want by including an "if" statement in single/home.tpl. Something like {if $main ne "your new page"} display what you want in the menu {/if}, although I'm not sure what exactly you need.
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
|
#3
|
|||||||
|
|||||||
![]() I was thinking about that method, though is there another way to go about doing that?
Really all I would like to do is just remove the admin menus (management, administration, products, inventory, your profile and help) from the single page. Well I will give that a go and see where I get with that. Cheers
__________________
Sean X-Cart Gold - 4.2.1 PHP - 5.2.9-1 MySQL - 5.1.32 IIS 6.0 w/ FastCGI Windows Server 2003 |
|||||||
#4
|
|||||||||
|
|||||||||
![]() It depends on what your "price book" is. Is it a pop-up or something of that nature, or another "page" that you have created using a "cloned" .tpl?
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#5
|
|||||||
|
|||||||
![]() It is another page using the default home.tpl and then i added my own pricebook.tpl and inserted it into common_templates.
I tried the if statement route and it's displaying exactly as I want, I ended up removing the header, menus (including the column the menus were in) and the footer. All with a simple {if $main ne "pricebook"}{/if}. Thank you!
__________________
Sean X-Cart Gold - 4.2.1 PHP - 5.2.9-1 MySQL - 5.1.32 IIS 6.0 w/ FastCGI Windows Server 2003 |
|||||||
|
|||
X-Cart forums © 2001-2020
|