| Topic: | Nukewrapper is not wrapping PHP output..? |
|---|---|
|
new_to_this
Helper
Posts: 314 Posted: |
Ok I can't figure out why Nukewrapper is not wrapping the output of my form handle. :? The form script is in the PHP directory that Nukewrapper is using, but when the form script outputs a page, it is not wrapped? The First page (this link) will wrap ok since it is called as a HTML file Give it a look here: (removed link - no more files) you will need to fill out the form (subject, e-mail, comment) Any help would be wonderful! |
|
MACscr
Professional
Posts: 1631 Posted: |
i bet if you opened it as a standard framed file instead of a local file you wouldnt have a problem |
|
new_to_this
Helper
Posts: 314 Posted: |
ok... how? |
|
new_to_this
Helper
Posts: 314 Posted: |
Ho do I output it as standard framed file? |
|
MACscr
Professional
Posts: 1631 Posted: |
page.php?URL=http://domain.com/file.php |
|
new_to_this
Helper
Posts: 314 Posted: |
Oh that.... No go with that option for two reasons: 1. the form script points to the "next" file (for multiple page forms), so the wrapper never gets called. 2. the script must have all paths relative to the site. I though I had it when I edited the scripts base path to it's templets and included page.php?file=then_the_file.htm but I forgot it refers to a config file, not good when that gets wrapped. :o I debugged the heck out of nukewrapper tonight and it's just fine, it won't work if you don’t tell it to! If anyone has any alternatives let me know. I gave blank.php a shot but forgot that it must be located in the root :( Thanks |
|
MACscr
Professional
Posts: 1631 Posted: |
you need to configure nukewrapper to open all links in it. I forget the exact setting |
|
remmingtonshowdown
Helper
Posts: 285 Posted: |
postWrap works just fine for me. |
|
new_to_this
Helper
Posts: 314 Posted: |
MACscryou need to configure nukewrapper to open all links in it. I forget the exact setting I think it is, but I will look Friday and check for it I do remember reading about that at some point. But it's not a link that is getting opened... it's what ever the form handler throws out that I am trying to wrap. remmingtonshowdownpostWrap works just fine for me. That’s nice... But will it do this and if so how? Like I stated above my problem is getting the output from the form handler wrapped. This is how the form handler it works: You call the first page... /forms/this_form/index.htm In this file I need to tell the form handler were the rest of the templets (HTML and text e-mail) like so, Code<input type="hidden" name="base_path" value="../forms/this_form"> Now the base_path is important since it also contains a file that the form handler looks at for directions of what to do with the form information. This is my problem now. I can change the base_pathe to, Code<input type="hidden" name="base_path" value="../page.php?file=/forms/this_form"> But... then it wraps the configuration file that the form handler uses! (and it can't do that...) Huuuummmmmmm.... |
|
MACscr
Professional
Posts: 1631 Posted: |
if your just opening it in a frame and not autosizing, then you wont have any problems. Since its just a form, turn off autosizing and just fix the height. i have tons of forms workign fine with NW. |
|
remmingtonshowdown
Helper
Posts: 285 Posted: |
yes postWrap will see my site: http://quixotecoachingprograms.binaryoven.com/index.php?module=PostWrap&page=survey A HTML form that refrences a PHP page to output results of the survey (not totally finished) |
|
new_to_this
Helper
Posts: 314 Posted: |
IT WORKS!!! Thank you MACscr! it was the "open all links" comment that hit me! I did try it with the URL= before but I was trying to have the form script add it. I did not ever call the forms index.htm page via URL= and let all the links open Thanks Again :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D |