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

kbahey’s picture

Assigned: Unassigned » kbahey

I am looking for a way where this module can detect whether clean URLs are enabled or not, and behaves accordingly.

jhriggs’s picture

form() 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().

kbahey’s picture

Now feedback module will adjust itself according to what the clean URL setting is.

Change committed to CVS HEAD.

kbahey’s picture

The solution recommended by jhriggs is better. Thanks.

Committed to CVS.

Anonymous’s picture