Hello,
I set up the innova RTE and would like to enable the asset manager to upload images.
Now I read the innova Docs but am having trouble making it work in my project.
Here's what i did:
I added the following line in BuildEditControl function
echo "<textarea id='".$cfield."' name='" . $cfield . "' style='width: " . $nWidth . "px;height: " . $nHeight . "px;'>" . htmlspecialchars($value) . "</textarea>";
echo "<script>";
echo "var oEdit" . $cfieldname . " = new InnovaEditor('oEdit" . $cfieldname . "');";
echo "oEdit" . $cfieldname . ".mode='HTMLBody';";
echo "oEdit" . $cfieldname . ".cmdAssetManager='modalDialogShow('/site_root/admin/plugins/innovaeditor/assetmanager/assetmanager.php',640,445);';";
echo "oEdit" . $cfieldname . ".width='" . $nWidth . "px';";
echo "oEdit" . $cfieldname . ".height='" . $nHeight . "px';";
echo "oEdit" . $cfieldname . ".REPLACE('" . $cfield . "');";
echo "</script>";
That should be it but editor's not showing up at all now.
Thanks for your input