Scott S.
|
| Posted: 03/26/2002, 5:57 PM |
|
Is it possible if I have a Header file to have it NOT included on certain forms? For example, I dont want it in my Login form, but I do want it on just about ALL other forms.
Thanks!
|
|
|
 |
airconijn
|
| Posted: 03/27/2002, 12:38 AM |
|
Put this ASP code in the Open Event of the pages (not the forms!) that you don't want the header to be in.
'No Header or Footer needed
sHeaderFileName=""
sFooterFileName=""
|
|
|
 |
Nicole
|
| Posted: 03/27/2002, 2:05 AM |
|
Scott,
also create custom show page event and remove or comment all the lines concern header displaying
|
|
|
 |
Scott S.
|
| Posted: 03/27/2002, 8:52 AM |
|
Thanks for the help, however... Im not using ASP, and it looks like PHP (that I am using) must work different, because I looked at the generated code, and it does not look like I can just set any variables to blank that would prevent the header file from loading...
Also, I tried going into the properties for the form, and I clicked events, and clicked custom open. Then I clicked get generated code, and I found where it does the call to "<?php Header_show() ?>". I tried commenting it out, and removing it totally.
I get mixed results. In some cases, it does seem to remove the header, however a couple times I was getting weird output below... For example, im using the demo version of codecharge right now, and it showed "This site was generated with codecharge" TWICE.
Then, after more playing, everythign showed ok, but the page seemed like it kept continually reloading!!
I might be missing something like maybe I have to SAVE the custom code - I tried that too though... saved it to a text file ... maybe I am not supposed to re-generate the code?? Or I have to generate it different if im using custom events?
Any thoughts?
|
|
|
 |
Scott S.
|
| Posted: 03/27/2002, 10:28 AM |
|
Ok, I figured it out.
I was clicking properties for the form in the second half of the window. It seems you cant edit the custom show code and expect it to work properly.
Instead, you have to edit the custom show code in the top half (click the properties button up there).
Kind of confusing though, considering it looks to be basically the identical code...
|
|
|
 |
|