ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

ChronoConnectivity Bug

omissirev 03 Jun, 2009
HI

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); ?>
GreyHead 06 Jun, 2009
Hi omissirev,

Your code works OK here - except for a warning message about $row->resumo being undefined (which is correct, it isn't defined).

Bob
This topic is locked and no more replies can be posted.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com