Jurian Sluiman wrote:
>
> It's mentioned a few messages back, but here it is:
> http://juriansluiman.nl/en/blog/article/100/improved-tinymce-solution-for-the-
> zend-framework
>
> Regards, Jurian
> --
> Jurian Sluiman
> CTO Soflomo V.O.F.
> http://soflomo.com
>
> On Tuesday 02 Mar 2010 12:57:08 tonystamp wrote:
>> Do you have a link to that tutorial Jurian.
>>
>> Thanks.
>
I have a problem following this tutorial coz Im new in ZF. What I did is
this:
In my tinymce.ini I copied and paste it in my
/application/configs/tinymce.ini
and changed the scriptPath to
scriptPath = APPLICATION_PATH "/../public/js/tiny_mce/"
I copied the Sozfo folder and has this path now: /library/Sozfo
and the tiny_mce folder this path: /public/js/tiny_mce
My /application/form/Editor.php has this code:
require_once APPLICATION_PATH.'/../library/Sozfo/Form.php';
class Form_Editor extends Sozfo_Form {
public function init()
{
$this->setAction('/path_to_controller/editoraction');
$this->setMethod ('post');
$this->addElement ('tinyMce', 'message', array(
'label' => 'Message',
'required' => true,
'cols' => '50',
'rows' => '10',
'editorOptions' => new
Zend_Config_Ini(APPLICATION_PATH . '/configs/tinymce.ini',
'moderator')));
............
}}
I make an instance new Form_Editor() and render it in my editoraction in my
controller. And I get this error which I could also see under firebug - GET
editoractionsname
"An error occured , application error"
What's wrong or what's missing? Thanks!
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/how-to-implement-WYSIWYG-editor-on-zend-framework-tp1569326p3547098.html
Sent from the Zend Framework mailing list archive at Nabble.com.
--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]