<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Dear Ana and Dear Hernan<br>
<br>
Thank you both very much! I had not thought about an FCK editor
plugin but it makes most sense of course.<br>
The examples and hints that both of you gave make it quite doable, I
think.<br>
<br>
Thanks again and kind regards<br>
Christian<br>
<br>
<blockquote
cite="mid:CAC6erhXbHpJTEKO3m19LpcmA+iQHrCEhaZr32hpPB3vR-M0yVg@mail.gmail.com"
type="cite">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 moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true" href="http://anayelseo.wordpress.com">anayelseo.wordpress.com</a></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
<a class="moz-txt-link-freetext" href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>