Enable TinyMCE editor for other CCK Text Areas
I just added a new Text Area with CCK to a content type, but it does not use the Editor that the Body field has.
How do I enable this?
ok... So is it possible to use another module for that purpose ?
Like to add the TinyMCE module manually.
The short answer is 'possibly'. ProsePoint is open source software, so you have the right to make your own changes and additions to your site.
In practice though, you might run into problems. It's likely that other wysiwyg editors may clash with ProsePoint's implementation and/or cause unexpected issues. I can't be any more specific in my predictions. Some sort of development may be necessary.
(But if developing, then it'd arguably more efficient to enhance ProsePoint to do this, than to modify an existing module to integrate with ProsePoint - but your opinion may differ)
Another alternative would be to commission us to add this feature to ProsePoint. This may be suitable if you need the functionality promptly and it is economically feasible for your specific circumstances.
I've tryed adding the WYSIWYG module, but it conflicted with the prosepoint editor. So now im trying to manually add the fields I need. It's just 3 text areas.
What I managed so far, for the field "edit-field-descricao-0-value"
In pp_ed.js added:
$('#edit-field-descricao-0-value').each(function() {
Drupal.pp_ed_attach_selector(this, 'edit-field-descricao-0-value');
if (typeof(document.execCommand) != 'undefined') {
if (Drupal.settings.pp_ed.pp_ed_default_mode == '0') {
$('#tinymce_select').click();
} else if (Drupal.settings.pp_ed.pp_ed_default_mode == '1') {
$('#code_select').click();
}
}
});
and in pp_ed.module:
in the "pp_ed_process_textarea" function, changed the IF to
if ($element['#id'] == 'edit-body' || $element['#id'] == 'edit-field-descricao-0-value' || (variable_get('pp_ed_edit_comments', FALSE) && $element['#id'] == 'edit-comment'))
This will make the Editor appear in the new field, but only after pressing "Visual".

This would be Issue1
Issue2 and the most important one, after I write in the Body and Descricao field and press Submit, Drupal tells me that Body is empty.
What do I have to do more?
Thank you
Marco
Katrina
Digital media designer and webmaster for a small daily newspaper
www.courier-tribune.com
I had a look at this last time and did give it a quick try, but it took longer than I expected or had allocated so I aborted the effort. If you absolutely need it, I could do it as a commercially sponsored task, but otherwise, I don't think this will happen anytime in the foreseeable future.

Hi,
Sorry, there isn't any way to 'enable' the editor for other CCK textareas in the front end. That functionality hasn't been built into ProsePoint. To do so would require some code changes and development.