I am trying to include the Joomla WYSIWYG editor in my front-end template to allow the edit of a mediumtext field. The editor appears, but it does not get populated with the data from the database row.
Here is my code for front-end template:
The HTML for the displayed page looks like this:
The same code works OK in the back end as part of my Admin Config.
TIA,
George
Here is my code for front-end template:
<tr><td colspan=3>
<?php
echo $editor->display( 'Description', ' ' , '100%', '200', '75', '20', false ) ;
?>
</td></tr>
The HTML for the displayed page looks like this:
<tr><td colspan="3">
<textarea id="Description" name="Description" cols="75" rows="20" style="width:100%; height:200px;" class="mce_editable="> </textarea>
</td></tr>
The same code works OK in the back end as part of my Admin Config.
TIA,
George