Dear all,
We've bought a custom designed CMS application which uses FCKeditor.
In the pages we would like to:
- insert images
- insert a link to, for example, a .PDF document
- insert a link to another page inside the CMS application.
Now, with respect to inserting links, the solution offered is or/or. Or a browser to locate files on the server or a browser to attach pages from the CMS application.
My questions:
- Is it possible to configure FCKeditor , for example adding a second button for inserting links, both buttons addressing different file browsers??
- Is it possible to configure the insert/edit link button, with an additional tab?, to be able to address different file browsers??
When one/both of the above are possible, directions are very welcome.
Thanks in advance for your reactions.
Regards from the Netherlands,
frank
We've bought a custom designed CMS application which uses FCKeditor.
In the pages we would like to:
- insert images
- insert a link to, for example, a .PDF document
- insert a link to another page inside the CMS application.
Now, with respect to inserting links, the solution offered is or/or. Or a browser to locate files on the server or a browser to attach pages from the CMS application.
My questions:
- Is it possible to configure FCKeditor , for example adding a second button for inserting links, both buttons addressing different file browsers??
- Is it possible to configure the insert/edit link button, with an additional tab?, to be able to address different file browsers??
When one/both of the above are possible, directions are very welcome.
Thanks in advance for your reactions.
Regards from the Netherlands,
frank

Re: insert files & insert pintures & insert pages possib
function Example() {} Example.prototype.GetState = function() { return FCK_TRISTATE_OFF; } Example.prototype.Execute = function() { // here you need to open a window, ui, interface, or just directly insert your text. // I am using a popup window but fckeditor has a built in window system. look at the youtube plugin as an example } // Register the command. FCKCommands.RegisterCommand('example', new Example()); // Add the button. var item = new FCKToolbarButton('example', 'My Example Test Title'); item.IconPath = FCKPlugins.Items['example'].Path + 'example.png'; // graphic for button, should be in the same dir as this file FCKToolbarItems.RegisterItem('example', item);<script type="text/javascript"> var FCK = FCKeditorAPI.GetInstance('instance_name_of_editor'); // you could just insert the html. in this example I am using jquery to get the data and then sliding it into the editor function insertHTML() { $.get('index.php?awesome_php_script=1') { FCK.InsertHtml(data); }); }Re: insert files & insert pintures & insert pages possib
If you end up inserting media take a look at the ProtectedTags setting.