I was wondering if there was a super basic hello world plugin tutorial out there. IE - Icon - click it - it writes Hello World! to the editor.
Or anything better than the Wiki thing.
---
Edit here's my standard js of what I'm really wanting to do.
Or anything better than the Wiki thing.
---
Edit here's my standard js of what I'm really wanting to do.
function newpage() { var page=prompt("Page Name","Page "+document.form1.pagenum.value) if(page!=null && page!="") { document.form1.txtbox.value = document.form1.txtbox.value+"[[Page=" +page+ "]]"; ++document.form1.pagenum.value; } }
Re: Simple Plugin howto?
Re: Simple Plugin howto?
I downloaded a plugin, unzipped it in /plugins/, put a " FCKConfig.Plugins.Add" line in my config file, created a toolbar to call it and all i get is ' toolbar button name is unknown' ( at least it found the plugin )
mmmm i probably forgot something simple.... but what ?
thanks for your help !
Re: Simple Plugin howto?
Then you can look at other plugins that provide richer functionality to do more advanced things.
Re: Simple Plugin howto?
Fck is a nice and wonderful editor but it is very bad documented.
Could have some snippets, could have more step by step tutorials.
I am trying understand the workflow to create button/create action and how insert the response into Fck. A lot of people are asking about in forum and the answer are the same.
1. Read the documentation
2. Check the nightly build
3. If the problem isn't reported, file a ticket about it!!.
Hello World tutorial will be big step to fck documentation.
Very basic but very useful so please FCK core developers provide it. The secret of open source is documentation, a lot of people are asking it so if possible provide us more.
Regards
macm
Re: Simple Plugin howto?
Re: Simple Plugin howto?
I see a war in web editors. Fck have amazing API probably the best but this isnt enough and should improve documentation.
Video Tutorials, Hello World Tutorial, request and motivate plugins creators to contribuite with tutorials.
Promote the founder Fernando Caldeira.
Today we are seen a big boom in CMS systems. All them need of good webeditor. So all them need integration. I know create an Ajax but how can I insert into fck?
Yes I know I need read more. But like I said fck documentation is poor. For example, take a look in Jquery.com library. John Resig is doing amazing job (video, tutorials, how to, hello world, tips&tricks). All top OpenSource Projects are very well documented. This is the secret. Documentation.
More documentation, more users, more plugins and more sucess. Take a pause in development and take care of documentation. Good luck and sorry my mistake again.
Regards
Mario
Re: Simple Plugin howto?
The wiki provides lots of that documentation, the source includes several samples about how to use and how to integrate it, the forums are filled of questions (and some answers ).
So when someone asks for something that it's already documented, is it really worth writing again the tutorial for this individual?
I don't see any use of a video showing me how to write a plugin, I would rather a text explaining it because I won't be able to understand almost nothing of the audio, but instead I can read an english description without problems and I can use any translation service if I have problem with some word or sentence.
I agree that good documentation is very important, but it isn't easy at all to write documentation because for me something can be very easy to understand, but other people not used to the javascript development can find harder to grasp. And there are people that ask questions that makes me wonder when it is enough. There are people that just don't know anything about programming and ask questions that are too basic (how to use a database or even how to get the data back from a normal form submit).
So if you find that something is missing in the wiki, you all are welcome to improve it.
Re: Simple Plugin howto?
Some things I would love to found in the documentation (may be it is, but I don't found it) :
- a complete api (so that I could understand what are the parameters of FCKDialogCommand, for example)
- a more complete plugin page. You explain how to register a plugin, and how to install it. But not a word about the more important thing : how the plugin should interact with the editor.
- some working url in the "additional information" of the plugins page. The first one doesn't work. Seems the sourceforge forum are reserved to developper...
Thankyou very much.