Closed (fixed)
Project:
Feedback
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
12 Nov 2004 at 11:12 UTC
Updated:
29 Nov 2004 at 20:15 UTC
Hello,
I found that I had to adjust the following to have this module working on my drupal site without clean url's enabled.
Line 230 of the module :
$output .= theme("box", $title, $message . form($form, "post", "feedback/send"));
adjust to :
$output .= theme("box", $title, $message . form($form, "post", "?q=feedback/send"));
Regards,
eltweako.
Comments
Comment #1
kbahey commentedI am looking for a way where this module can detect whether clean URLs are enabled or not, and behaves accordingly.
Comment #2
jhriggs commentedform() automatically uses the current page as the form action. If this is what you need, you don't need to specify arguments 2 or 3. If your form action needs to go to another page, use url().
Comment #3
kbahey commentedNow feedback module will adjust itself according to what the clean URL setting is.
Change committed to CVS HEAD.
Comment #4
kbahey commentedThe solution recommended by jhriggs is better. Thanks.
Committed to CVS.
Comment #5
(not verified) commented