Re: Giapeto - Ulaform problem
Roel Gloudemans <[email protected]> Fri, 20 Aug 2004 19:09:24 +0200
| Newsgroups | gmane.comp.horde.giapeto |
|---|---|
| Message-ID | <[email protected]> |
This message is in MIME format. --=_6lfkksgtc4so Content-Type: text/plain; charset="ISO-8859-1"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit Hi Marko, Sorry for the impatience, but since the working day is finished and I didn't see a patch, I took a look myself. Suprisingly enough, with your previous remarks the problem was easy to find. Is the attached patch for ulaform the solution to the problem? If you did already fix it, disregard this mail completely. In that case I had a learning experience with the Horde code. Thanks, Roel. > Quoting Roel Gloudemans <[email protected]>: > >> Try http://62.166.189.105/index.html?page_id=/Contact >> >> This is the overall contact form of the site, which dumps its mail in my >> mailbox. I tried the form also without the sites frames page, but also >> no luck. > > ok i see what it is. it doesn't pass the "page_id=/Contact" > information to the > form. i'm using it under giapeto's url-rewrite method where the form > action is > the actual page where the form is at so it comes back to the same page. i'll > fix it during the day. --=_6lfkksgtc4so Content-Type: text/x-patch; charset="UTF-8"; name="form.php.patch" Content-Disposition: attachment; filename="form.php.patch" Content-Transfer-Encoding: 7bit --- lib/Block/form.php.org 2004-08-20 19:00:15.210555834 +0200 +++ lib/Block/form.php 2004-08-20 19:00:35.693946843 +0200 @@ -101,7 +101,7 @@ /* Render the form. */ $renderer = &new Horde_Form_Renderer(); $renderer->showHeader(false); - return Util::bufferOutput(array($form, $render_type), $renderer, $vars, Horde::selfURL(), 'post'); + return Util::bufferOutput(array($form, $render_type), $renderer, $vars, Horde::selfURL(true), 'post'); } } --=_6lfkksgtc4so Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- giapeto mailing list - Join the hunt: http://horde.org/bounties/#giapeto Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected] --=_6lfkksgtc4so--