HI
I'm trying to use the editor in a form with this code:
If Im adding a record everything works fine, but if I trying to edit instead of the editor it shows like this:
I'm trying to use the editor in a form with this code:
<?php $editor =& JFactory::getEditor(); ?>
<label style="color:#2C79B3; font-size: 200%;font-weight: normal;">Adicionar novo Evento</label>
<br /><br />
<table>
<tr><td>Tipo de Evento:</td><td>
<select size="1" title="" name="tipo">
<option value="Seminário">Seminário</option>
<option value="Palestra">Palestra</option>
<option value="Debate">Debate</option>
<option value="Visita">Visita</option>
<option value="Exposição">Exposição</option>
<option value="Divulgação">Divulgação</option>
<option value="Outros">Outros</option>
</select>
</td></tr>
<tr><td>Titulo:</td><td><input type="text" name="titulo" size="40" maxlength="80" value=""></td></tr>
<tr><td> </td></tr>
<tr>
<td>Resumo:</td>
<td>
<?php
echo $editor->display('resumo', $row->resumo, '550', '300', '30', '10', false); ?>
</td>
</tr>
<tr>
</table>
If Im adding a record everything works fine, but if I trying to edit instead of the editor it shows like this:
display('resumo', $row->resumo, '550', '300', '30', '10', false); ?>