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)
-   -   How to not display menus etc like invoice on a new tpl (https://forum.x-cart.com/showthread.php?t=21011)

amy2203 04-08-2006 01:58 AM

How to not display menus etc like invoice on a new tpl
 
I've got a tpl that is creating leaflets for within the shop. It's part of my class schedule thing that I'm trying to get working. I have a range of classes that are scheduled at different times, so all the data is held in the database, and I generate a leaflet that pulls the time, date, notes etc. This way I can automatically print the leaflets for instore without having to create new ones each time.

I want the leaflets to appear on screen like the invoices, without all the menus etc, but I can't work out how to remove them?

Any Ideas?

Thank you,

balinor 04-09-2006 03:23 AM

Depending on how you have the templates set up, you could use {if} statements to hide the menus for that specific template.

amy2203 04-09-2006 05:11 AM

Thanks Balinor,

however I think my error was in my php file where i had this at the bottom:

Code:

@include $xcart_dir."/modules/gold_display.php";

I commented it out
Code:

#@include $xcart_dir."/modules/gold_display.php";

and now it appears on a blank page,

Thanks,

keywords: blank page hide menus admin area invoice


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

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