Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

How to not display menus etc like invoice on a new tpl

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-08-2006, 01:58 AM
  amy2203's Avatar 
amy2203 amy2203 is offline
 

X-Wizard
  
Join Date: Jul 2004
Location: Watford, UK
Posts: 1,509
 

Default 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,
__________________
X-Cart version 5 (Previously 3.5-4)

Previous Versions included
BCSE Reward Points Mod
Altered Cart On Sale Mod
Wordpress Plugin

Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there.

Shout me a Coffee!
Reply With Quote
  #2  
Old 04-09-2006, 03:23 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Depending on how you have the templates set up, you could use {if} statements to hide the menus for that specific template.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 04-09-2006, 05:11 AM
  amy2203's Avatar 
amy2203 amy2203 is offline
 

X-Wizard
  
Join Date: Jul 2004
Location: Watford, UK
Posts: 1,509
 

Default

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
__________________
X-Cart version 5 (Previously 3.5-4)

Previous Versions included
BCSE Reward Points Mod
Altered Cart On Sale Mod
Wordpress Plugin

Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there.

Shout me a Coffee!
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

   

 
X-Cart forums © 2001-2020