Forums

Problem with text editor in custom code

nams09 12 Apr, 2015
Hello!

I have a form I'm using for editing connected to chronoconnectivity.
I had a text area that had the wysiwyg option active but still wasn't showing the editor, so I decided to use the following code in a custom code field:

<?php
echo $editor->display( 'Description', $row->Description , '100%', '200', '75', '20', false ) ;
?>

The editor shows up now but it doesn't load the info I have stored in the db.

Please help me!😟
Max_admin 12 Apr, 2015
Answer
Please try this:

<?php
echo $editor->display( 'Model[Description]', '' , '100%', '200', '75', '20', false ) ;
?>

or

<?php
echo $editor->display( 'Model[Description]', $row["Model"]["Description"] , '100%', '200', '75', '20', false ) ;
?>


Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
nams09 12 Apr, 2015
IT WORKED! Thank you so much!! 😀
This topic is locked and no more replies can be posted.