When I add page content to the new site wide contact form in the newest cvs (Drupal-5 ?), the content doesn't get line breaks converted to html tags (everything is one long input with no breaks). I can't figure out how to fix it. AWESOME job everybody with the latest Drupal by the way!!! I love everything. It rocks!
Thanks,
Tom Willis

Comments

WithoutaDoubt’s picture

Title: Contact form doesn't use default input format? » Contact Form in Drupal-5 problem
WithoutaDoubt’s picture

Category: support » bug
chx’s picture

Category: bug » support

This is hardly a bug.

WithoutaDoubt’s picture

Sorry.
What should I have classified it as? It isn't really a support request. I would think a support request would be for questions regarding the use of correctly functioning software. There seems to be a bug (albeit small) with the contact form module that prevents the proper use of the module.
Thanks,
Tom

WithoutaDoubt’s picture

I am just reporting my findings. I am sure it will be fixed in future releases and my plan is to wait a couple CVS releases and try again. I would like to start using the latest DRUPAL for production sites.
But just in case anybody cares, I found a bug.
Thanks,
Tom

Anonymous’s picture

Title: Contact Form in Drupal-5 problem » Sidewide contact form: Addiditional Information should use input formats
Version: x.y.z » 5.x-dev
Category: support » feature

Currently the input field 'Additional Information' in the sidewide contact form only accepts HTML-Input. There should be selectable input formats as in other input fields and the standard input format should be used by default.
This would also allow the usage of PHP to the admin which can be useful.

Anonymous’s picture

Title: Sidewide contact form: Addiditional Information should use input formats » Sitewide contact form: Additional Information should use input formats

Two mistakes in the title! I should learn how to write correctly.

open-keywords’s picture

still a valid report, subscribing

stevekerouac’s picture

Subscribing. I'd like to add encoded (javascript) mailto links, and skype and iChat (javascript) buttons to my contact form. I'll have to customise the theme just for this now.

funkyhat’s picture

Version: 5.x-dev » 6.x-dev

This feature is not present in Drupal 6, updating Version.

(Also, an

is being stripped from the output, is this the same bug, a different bug, or something I'm doing wrong?)
bdragon’s picture

Version: 6.x-dev » 7.x-dev

Moving to 7.x as it's a feature. If it's fixed in 7 already, then a backport would be keen.

dave reid’s picture

dave reid’s picture

Status: Active » Fixed

This is fixed since this information is now a block, which has full access to the input format system.

mattyoung’s picture

Version: 7.x-dev » 6.13
Status: Fixed » Active

What about D6?

line 41 of contact.page.inc calls filter_xss_admin():

    $form['contact_information'] = array('#value' => filter_xss_admin(variable_get('contact_form_information', t('You can leave a message using the contact form below.'))));

this is too restrictive when you consider only admin can set the value it's filtering on. It would be nice if input format is used or at lease the allowed tags can be added. I would like to embed a google map on the contact page but iframe is not allowed.

dave reid’s picture

Version: 6.13 » 7.x-dev
Status: Active » Fixed

Feature requests are not accepted for D6. Only for D7. The most un-restrictive function is being used already, it can't be improved and still be secure. For D6, you should use a theme that allows you to put blocks above content and just create a block.

mattyoung’s picture

Version: 7.x-dev » 6.13
Status: Fixed » Active
mattyoung’s picture

Status: Active » Fixed

Oops, push the wrong button.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.