Is this possible?

omissirev 12 May, 2009
Hi,
Is there a way to use the tiny mce editor in the "record edit template"?

  <?php
		$editor =& JFactory::getEditor();
		echo $editor->display('objectivos', $this->content, '550', '300', '30', '10', false);
	?>


I tried to use this but it gives me an error like this:

Fatal error: Using $this when not in object context in /home/*****/public_html/****/components/com_chronoconnectivity/chronoconnectivity.html.php(283) : eval()'d code on line 7
GreyHead 12 May, 2009
Hi omissirev,

You need to replace $this->content - but I'm not sure what goes there. . . maybe the field_name of the textarea??

Bob
scottlpool2003 13 May, 2009
Thanks Bob, I was looking for the same thing and it worked a charm. You truly are a genius in your own right😀
This topic is locked and no more replies can be posted.