CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 suppress header in php

Print topic Send  topic

Author Message
Dave S
Posted: 01/18/2002, 9:27 AM

hello

there is an example in the CC manual showing how to supress the header for a particular page for ASP but I'm trying to do it in PHP. All my feeble attempts have failed. I also tried applying the example from the msexcel tip (ie, sHeaderFileName="") with no luck.

Could someone out there help me please?

Many thanks

Dave S
CodeCharge Support
Posted: 01/18/2002, 10:11 PM

Suppressing header files in PHP & Templates is more involving and basically entails using the 'Custom Show Page' event to comment out refences to the header or footer pages:

1. Use the obtain generated code button to get the default code.
2. Comment out the load_file function calls for the header and footer pages
e.g.

//$tpl->load_file($header_filename, "Header");
//$tpl->load_file($footer_filename, "Footer");

3. Comment out the functions that reference forms that appear in the header or footer pages: e.g.

//Header_show();
//Footer_show();

4. Comment out the parse function calls for the header and footer pages. e.g

//$tpl->parse("Header", false);
//$tpl->parse("Footer", false);

Note that the function names and parameters above may vary depending on the names of the header and footer pages and the names of any forms in either pages.

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.