I'm trying to use the WYSIWYG editor on my own page, so i'm using:
PHP Code:
construct_edit_toolbar('', 0, 0, 1, 1); // first parameter doesnt need to be defined since its for new text
Then
in my template.
The Editor shows up, but it's grayed out and uneditable and i'm getting this error at the top:
Quote:
Warning: Invalid argument supplied for foreach() in C:\Network\Apache2\htdocs\gold\includes\functions_ editor.php on line 455
|
Line 455 is just a { on another function.
I think my parameters are wrong but I'm not sure. Can anyone shed some light on this?