Forums

Simplify editor interface

ugly 28 Nov, 2009
I've just started using this product, so excuse my elementary questions. I'm using the sample form
submitcontent which I downloaded from the site. This form allows you to upload content from the front end and it gets parked as a new article - great functionality just what I have been looking for!!! I would like to simplify the form content box from a wyswig editor to a simple text box where users can enter there story. My question is how to make this change. I opened the form and saw this snippet of php, di I change the parameters. I tried replacing the code with an ordinary text box, the box showed but the article text was not uplifted.


<?php
$editor =& JFactory::getEditor();
echo $editor->display( 'fulltext', '' , '80%', '350', '55', '20', false ) ;

?>
Max_admin 29 Nov, 2009
just make sure your text box name attribute = "fulltext" :

<textarea name="fulltext"></textarea>


Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.