OK i've changed the evel in dca for activation "reg_text" ($GLOBALS['TL_DCA']['tl_module']['fields']['reg_text'] = array).
Before
Code:
'eval' => array('style'=>'height:120px;', 'decodeEntities'=>true, 'alwaysSave'=>true),
Now
Code:
'eval' => array('rte'=>'tinyNews', 'decodeEntities'=>true, 'alwaysSave'=>true),
Now i get the tinyMCE in activation message but there is a following problem:
When the message is sent to email to html code isn't "converted" to html.
If I create html template in tinyMCE for example:
Code:
<table style="background-color: #f0f; width: 100%;">
<tbody>
<tr>
<td>##link##</td>
<td>##domain##</td>
</tr>
</tbody>
</table>
In the email I recive code as above and not the email in "template" style.
There is something need to be done in ModuleRegistration.php (I suppose) but just can't figure it out what.
p.s. I've moved this thread from Using contao viewtopic.php?f=6&t=3942 so admin can delete thread there.
Bookmarks