Help to make an Innovastudio wysiwyg editor module!

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
lupker

Help to make an Innovastudio wysiwyg editor module!

Post by lupker »

Hi all,

I love the CMSMS, but I am used to the Innovastudio wysiwyg editor for my other projects.
I understand this is a commerical package, but TinyMCE and the other free editors just are not good enough.
Most of the problems I encounter is the HTML formatting, which is a real pain in the...
The Innova editor has a great build in assetmanager and also the possibilty to resize images with GD.
And most important it does not f*ck up the code!

Although I am not a programmer, I could use some help to try to integrate this wysiwyg to the CMSMS.
I am trying to fugure out how to make a module for this, but my lack of knowledge of php is not helping here.
Of course I will share the module with you later.

Maybe you can help me out here?

Thanks!
Mark

Here is some info, of course I can send you a copy of the program for testing purposes:

-----------------

First of all I would like to concentrate on showing the wysiwyg area.

- I have added a new module with module maker to the CMS.
- Folder is: /modules/innova/
- The editor is installed in: /modules/innova/editor
- The scripts of the editor are in: /modules/innova/editor/scripts

Basicly I need to add this code to the module to make it work:

Code: Select all

<__script__ language=JavaScript src='module/innova/editor/scripts/innovaeditor.js'></__script>

<textarea id="txtContent" name="txtContent" rows=4 cols=30>
<?
function encodeHTML($sHTML)
{
$sHTML=ereg_replace("&","&",$sHTML);
$sHTML=ereg_replace("<","<",$sHTML);
$sHTML=ereg_replace(">",">",$sHTML);
return $sHTML;
}

if(isset($_POST["txtContent"]))
{
$sContent=stripslashes($_POST['txtContent']); //Remove slashes
echo encodeHTML($sContent);
}
?>
</textarea>

<__script__>
var oEdit1 = new InnovaEditor("oEdit1");
oEdit1.REPLACE("txtContent");
</__script>

karllos

Re: Help to make an Innovastudio wysiwyg editor module!

Post by karllos »

I am interested in this topic too. Is there anybody who can help us?
User avatar
Silmarillion
Dev Team Member
Dev Team Member
Posts: 483
Joined: Sun Jan 02, 2005 9:10 pm
Location: Denmark

Re: Help to make an Innovastudio wysiwyg editor module!

Post by Silmarillion »

I have done quite a lot of WYSIWYG-modules, and I could probably put somthing together if I had a copy of the editor to test with.

sil.
Bobonov

Re: Help to make an Innovastudio wysiwyg editor module!

Post by Bobonov »

If you make such module, you have to make it just for yourself.
Point 1 and 3 of license agreement of innvoastudio

1. InnovaStudio.com grants you, the licensed developer, the right to use InnovaStudio WYSIWYG Editor, customize to her/his needs and requirements and distribute InnovaStudio WYSIWYG Editor in a commercial application, without any royalty whatsoever, provided that :

    * You do not distribute InnovaStudio WYSIWYG Editor, in whole or in part, in any form that does not add primary and substantial value to the SOURCE CODE, and that this resulting product must not compete with InnovaStudio WYSIWYG Editor on the market level.
    * You do not permit (either by explicit or implicit means) further distribution of the InnovaStudio WYSIWYG Editor by your end users.


3. As a result of point 1, you do not distribute InnovaStudio WYSIWYG Editor in free and/or Open Source projects/applications.

therefore it can't in any way be distributed with or downloaded as module of CMSMS
User avatar
Silmarillion
Dev Team Member
Dev Team Member
Posts: 483
Joined: Sun Jan 02, 2005 9:10 pm
Location: Denmark

Re: Help to make an Innovastudio wysiwyg editor module!

Post by Silmarillion »

Hey, was just trying to help out, here! I have no need for the module, but offered to help build one. And of course I would not distribute anything I was not allowed to. But making a module into which a legally owned copy of the studio could be added, shouldn't be hard.
So take it easy, man! Not trying to break anybodys licenses...

sil.
Bobonov

Re: Help to make an Innovastudio wysiwyg editor module!

Post by Bobonov »

I didn't want to stop you but just remark that you cant make it as it is.

For sure an option should be to make the base module which provide the integration with CMSMS but without the editor, then in the module admin people find an option to upload the module by their own.

;)
User avatar
Silmarillion
Dev Team Member
Dev Team Member
Posts: 483
Joined: Sun Jan 02, 2005 9:10 pm
Location: Denmark

Re: Help to make an Innovastudio wysiwyg editor module!

Post by Silmarillion »

Preciseliy the option I'm going for! it should be up to lupker, who needed the module, to provide some legal method for me to develop at test the module.
Glad we agree ;-)

Have fun.

sil.
Locked

Return to “Modules/Add-Ons”