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.
|
|
|
|