In every Drupal site I've setup so far, the users use the text field provided in the Contact form -> Settings interface to enter direct contact detail information for the company, which then appears above the site's contact form. The information entered there usually includes direct email address(es), which users normally want obfuscated.
FCKEditor has some built-in email obfuscation capabilities, and there are modules - like SpamSpan - that make obfuscating email trivial inside Drupal. These modules, however, rely on the fact that the displayed content is going to be passed through the normal filters. So, they work fine for all nodes in the site, obfuscating emails as they should, but oddly enough, do not work in the site's own Contact Form!
To reproduce problem with SpamSpan:
1) in fresh D6, instal SpamSpan module, enable it in your filters
2) go to Contact form -> Settings, add some information, including an email address (which SpamSpan should obfuscate)
3) save the Contact form, and browse - you will see that SpamSpan is unable to obfuscate the address
To reproduce problem with FCKEditor:
1) in fresh D6, instal and configure FCKEditor module, as per module's instructions
2) go to Contact form -> Settings, add some information with the wysiwyg editor, including an email link (which FCKEditor will by default try to obfuscate with a javascript)
3) save the Contact form, and browse - you will see that the link generated by FCKEditor is malformed, and will cause the site to generate a 404 error.
If you try to use the same modules inside any node in the site, all behaves as it should, without a fault.
Comments
Comment #1
icouto commentedA description of the problem from the perspective of the maintainers of SpamSpan can be seen here:
http://drupal.org/node/306755
Comment #2
origaman commentedA not-so-bad workaround would be to transfer the contact form into a block and have a block region below the page's content.
See
http://drupal.org/node/236997
for how to make a contact form block. This block could then be put in the content-bottom region and be configured to be shown only on one exact page (the contact page).
With the contact form at the bottom of the content area, the users can edit the contact detail information like any other page with the benefit of the text being filtered by drupal's filters and additionally a big usability plus: They don't have to find the Settings tab in the contact form configuration for changing the details.
Comment #3
dave reidMarking this as a duplicate of #88602: Sitewide contact form: Additional Information should use input formats.