Hi friends.

I'm using a combination of modules to achieve one goal and one of them is causing me problems but I still do not know which one.

I created a site with a custom theme. On this site, I have a contact area, called "Contact Us ". This contact area was created by combining the modules Webform + CKEditor, and after entering all the data, it generates an email to the owner of the website with the information entered by the user.

During testing, the e-mails created by users were sent to the owner of the website with all the html tags.

After much searching, I found the module Mimemail and all the tags were removed, except for the "Message" field. This field was created as a "textarea" and uses the CKEditor.

Thus, all the e-mails generated by this form is received correctly in HTML, except this fieldtext, where the message is displayed with the html tags. Letters with special characters also are not displayed (like: á, é, ó, ç, and others).

Other forms of contact with personal message fields are having the same problem.

Can anyone give me a light?

Tks.

Comments

mkesicki’s picture

Hi,
this can be related with html entities (http://drupal.org/node/1122836). Please also look at http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.enti... and others entities options (entities_latin, entities_greek). Remember that also text filters can remove/strip html tags from message , so you should use full html filter or other related to your needs.

dczepierga’s picture

Title: Problems with HTML tags and special characters » HTML Entities option configurable in each profile
Category: support » feature
Status: Active » Postponed

I think this option should be configurable in the CKEditor module in each profile, so i change category to feature request...

This option probably will be added to asap and realased with one of the future versions of CKEditor module...

Greetings

astutonet’s picture

The instructions of the above links work, however, were still <br /> tags.

Tks.

mkesicki’s picture

Status: Postponed » Fixed
dczepierga’s picture

Ok, I add this option configurable on each profile in "Advanced options" section.
By default this option is enabled, after change to "No" following options are set to "false":

CKEDITOR.config.entities
CKEDITOR.config.entities_greek
CKEDITOR.config.entities_latin

Please check the latest dev release and let me know if you notice any poblems with it. Remember to clear Drupal cache and browsers cache before testing.

This option will be also ported to D7 version - #1134252: [D7] HTML Entities option configurable in each profile.

Greetings

astutonet’s picture

Version: 6.x-1.3 » 6.x-1.x-dev

Ok

Now I'm using dev version. I accessed the advanced options and disable the "HTML Entities". That done, I cleared the cache of the Drupal and web browser.

I used two models of the forms available and I realized that the typed messages in fieldtext are working: the accented letters are displayed correctly and line breaks no longer exhibit the tags <br />.

However, it seems that there is still a small conflict with another module, because the new settings removed the formatting of the form (special characters of the form are still displayed correctly), failing to display, for example, words in bold and breaks line, among other things.

Perhaps lacking a little more integration of the CKEditor module with other modules, or vice versa. It would be interesting if the CKEditor module detects which modules depend on its resources and we can enable these features in the advanced options.

For example, the module LinkIt depends on a command line in the file ckeditor.config.js.

In the forms in question, there are several related modules, such as:

- Webform;
- Mime Mail;
- Mail Mime, and
- HTML Mail.

Perhaps, too, that I am experiencing some conflict between these modules, but the problems I have now with this forms I hadn't before upgrading the CKEditor for development module.

Greetings.

astutonet’s picture

Hi

A few days ago, the toolbar just disappeared. I tried in every way, check out what was wrong, but the fact is that I am not able to make them to appear again.

I had the WYSIWYG module installed, how I had this problem and I was not using it, the module was removed.

The script to the execution is displayed in Firefox, but even so, the bars are not shown, nor in other browsers.

I use the module LinkIt, and did ​​the necessary changes in the ckeditor.config.js file to that it be displayed in bars CKEditor. I do not believe that this is the problem.

I remember I had to include a command line to remove strings of messages.

What may be going wrong?

dczepierga’s picture

@astutonet, pls make create new issue with your problem and write which module version do u use, and list all your installed (enabled) modules.

Greetings

astutonet’s picture

Ok. I will create a new issue.

Greetings.

Status: Fixed » Closed (fixed)

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