Hi Christian, <br><br>I did it a couple of times more than one year ago (custom templates and video player button to insert media), with different versions (OpenCms 7.x.x). I am not working right now with OpenCms but I have installed OpenCms 8.0.0. Hopefully it is working still with FCKEditor 2 so I guess it is still working as it used to. <br>
<br>I will try to write a little tutorial in this week to give you a little idea but one starting point could be: <br><br>1. If you go to the opencms admin then /system/workplace/editors/fckeditor/ you'll see all important files that you can edit to have a custom fckeditor: <b>configwidget.js</b> is the custom config for a fckeditor in contents fields (e.g. body in your news content if you define it first as OpenCmsHtml type in the xsd) and <b>customconfig.js </b>is the very same cofig but for html contents. <div>
<br></div><div>The folder in the vfs named as plugins, are some OpenCms plugins for FCKEditor. </div><div><br></div><div>2. Give a look to fckEditor doc: <a href="http://docs.cksource.com/FCKeditor_2.x/Developers_Guide">http://docs.cksource.com/FCKeditor_2.x/Developers_Guide</a>. That was very helpful for me. </div>
<div><br></div><div>If you want to develope your own plugin the very hard thing is having good javascript basis and then integrating your new functionality with the button (this is the easiest parte after reading a little the doc). </div>
<div><br>Another detail, you have to clear the cache in your browser and also Re-initialize workplace (Admin>Workplace tools), sometimes it is not getting the changes in those files. That's all I can remember right now. </div>
<div><br></div><div>Ana<br>><br>> Christian,<br>><br>> We never developed a plug-in, but we used this one:<br>> <a href="http://www.geeklog.net/article.php/Video-Embed-FCKeditor-Plugin-v1-0-0">http://www.geeklog.net/article.php/Video-Embed-FCKeditor-Plugin-v1-0-0</a><br>
><br>> It seems fairly straight forward.<br>><br>><br>> Christian Steinert-2 wrote:<br>>><br>>> Dear all<br>>><br>>> I would like to add custom buttons to FCKEditor. Did anybody here ever try<br>
>> something like this or could somebody give me a pointer from which classes<br>>> I could derive to make my own version of the editor which adds additional<br>>> buttons?<br>>><br>>> Thanks!<br>
>> Best regards<br>>> Christian<br>>> _______________________________________________<br>>> This mail is sent to you from the opencms-dev mailing list<br>>> To change your list options, or to unsubscribe from the list, please visit<br>
>> <a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br>>><br>>><br>>><br>>><br>>><br>> --<br>
> View this message in context: <a href="http://old.nabble.com/Custom-buttons-in-FCKEditor-tp34101655p34102123.html">http://old.nabble.com/Custom-buttons-in-FCKEditor-tp34101655p34102123.html</a><br>> Sent from the OpenCMS - Dev mailing list archive at Nabble.com.<br>
><br>> _______________________________________________<br>> This mail is sent to you from the opencms-dev mailing list<br>> To change your list options, or to unsubscribe from the list, please visit<br>> <a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br>
><br>><br>><br><br><br><br>-- <br>Ana Torres<br><a href="http://anayelseo.wordpress.com">anayelseo.wordpress.com</a></div>