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!
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- internetking created topic »password problem« 25. May
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
- nestormateo responded to »Fillters in Clip« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Nukewrapper is not wrapping PHP output..?
-
- Rank: Softmore
- Registered: Nov 21, 2004
- Last visit: Oct 21, 2009
- Posts: 290
-
- Rank: Expert
- Registered: Dec 31, 1969
- Last visit: Oct 21, 2009
- Posts: 1437
i bet if you opened it as a standard framed file instead of a local file you wouldnt have a problem -
- Rank: Softmore
- Registered: Nov 21, 2004
- Last visit: Oct 21, 2009
- Posts: 290
-
- Rank: Softmore
- Registered: Nov 21, 2004
- Last visit: Oct 21, 2009
- Posts: 290
-
- Rank: Expert
- Registered: Dec 31, 1969
- Last visit: Oct 21, 2009
- Posts: 1437
page.php?URL=http://domain.com/file.php -
- Rank: Softmore
- Registered: Nov 21, 2004
- Last visit: Oct 21, 2009
- Posts: 290
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 -
- Rank: Expert
- Registered: Dec 31, 1969
- Last visit: Oct 21, 2009
- Posts: 1437
you need to configure nukewrapper to open all links in it. I forget the exact setting -
- Rank: Softmore
- Registered: May 22, 2004
- Last visit: Apr 03, 2010
- Posts: 451
-
- Rank: Softmore
- Registered: Nov 21, 2004
- Last visit: Oct 21, 2009
- Posts: 290
MACscr
you 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.
remmingtonshowdown
postWrap 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.... -
- Rank: Expert
- Registered: Dec 31, 1969
- Last visit: Oct 21, 2009
- Posts: 1437
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. -
- Rank: Softmore
- Registered: May 22, 2004
- Last visit: Apr 03, 2010
- Posts: 451
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)
--
Burnham Racing
Illinois Cycling Association -
- Rank: Softmore
- Registered: Nov 21, 2004
- Last visit: Oct 21, 2009
- Posts: 290
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
- Moderated by:
- Support
