Hi everyone - I am currently working on a small CMS - completely DB-driven including the filesystem, FCKeditor is used to edit htmlpages to be displayed.
I have implemented (hacked) a SaveAs and Open Plugin and am currently working on a Custom Save command that would work as expected by the users - If no name have been given to the file - the SavAs command should be invoked.
The question I can't find an answer to is.
How do I invoke my own named command ?
ExecuteNamedCommand ?
- what should be passed as commandParameter ?
- Is this really the right function for calling your own custom commands ?
Also - where can I find uncompressed sourcefiles. I REALLY hate going through code written on a single row - (yoda says)-pretty hard it is.
I have implemented (hacked) a SaveAs and Open Plugin and am currently working on a Custom Save command that would work as expected by the users - If no name have been given to the file - the SavAs command should be invoked.
The question I can't find an answer to is.
How do I invoke my own named command ?
ExecuteNamedCommand ?
- what should be passed as commandParameter ?
- Is this really the right function for calling your own custom commands ?
Also - where can I find uncompressed sourcefiles. I REALLY hate going through code written on a single row - (yoda says)-pretty hard it is.
Solved RE: Invoking a toolbar command ?
FCKCommands.GetCommand('MyCommandName').Execute();