CKFinder - How to use Connector - ckeditor

I have installed 3.4.2 of CKFinder into an MVC app that currently works successfully with CKEditor. In the web.config for CKFinder (which strangely wasn't included in the Package Manager Console Install-Package and which I copied over from the zip instead) I see "add key="ckfinderRoute" value="/connector"/>. But there is not connector folder in the install. In another older site here, there is a WebForms project that also uses connector, and has this folder. Do I need this?
I have set up my html with the following:
<script>
CKEDITOR.replace('editor11', {
filebrowserBrowseUrl: '/CKFinderScripts/ckfinder.html',
filebrowserUploadUrl: '/CKFinderScripts/connector?command=QuickUpload'
});
</script>
What else do I need to do to be able to upload files to a server?

From what I see in the documentation, you have correctly pointed to the location of ckfinder.html and that's all you need. Here is a link https://docs.ckeditor.com/ckfinder/ckfinder3-net/integration.html

Related

Xpages - New version of CkEditor not load

Recently I decide to migrate my application from version 8.5.3 Lotus Notes to version 9.0.1. When doing this I needed to change the version of CkEditor from 4.4.7 to 4.5.3, so I changed the file in the \data \ domino\html\ckeditor folder, however when re-building my application I received the following error in browser console:
The file xsp/.ibmxspres/domino/ckeditor/plugins/ibmspellchecker/plugin.js not exists in the new version of ckEditor.
I realized this is because the application tries to fetch the javascripts files from the old version of CkEditor, as if it were cached.
I've tried everything specified here: http://www.intec.co.uk/dde-local-preview-ckeditor/ but nothing worked.
Does anyone have any ideas?
From what I understand: you are upgrading CKEditor by yourself instead of using the default version that is installed and doing this by installing a version of CKEditor that you have obtained from CKEditor directly.
If so, the problem may be that the xpages inputRichText control uses some CKEditor plugins that are provided by IBM e.g. ibmspellchecker, ibmxspimage and these won't be provided in the standard CKEditor distribution.
If these plugins are not present in your new CKEditor installation then the editor will not load properly.
You have 2 options
Ensure these IBM plugins are put back in the html/ckeditor/plugins directory (and hope they are still compatible with the CKEditor version)
Tell the inputRichText control not to load any of the ibm plugins. (but this means you will not be able to upload images)
To remove plugins from the editor config use the dojoAttribute 'removePlugins'
<xp:inputRichText id="inputRichText1">
<xp:this.dojoAttributes>
<xp:dojoAttribute name="removePlugins" value="ibmspellchecker,etc"></xp:dojoAttribute>
</xp:this.dojoAttributes>
</xp:inputRichText>

How do I delete joomla template?

I installed a new template for my joomla site but after that I have no access template manager. It only becomes a completely white page in Firefox and Opera says that "currently unable to handle the request." Is there any way to delete a template outside of the webadmin interface?
You can delete through your ftp client like filezilla. Open filezilla, login to your server and the delete the template. May be the template comes with some plugins or else how can just by installing it started showing error unless you use that template. Possibility is: i) You might have installed a template for older version. ii) You might have installed a plugin with the template that was autopublished. iii) You messed up some setting files.
I suggest you to open file manager, go to templates and then delete that particular template. Also when asking please ask providing all details like name of template, link of template etc.

CKEditor not shown when i download js file from server

Below script reference getting cke js from server
<script src="//cdn.ckeditor.com/4.5.0/standard-all/ckeditor.js"></script>
When I download from this server and add manually my project CKEditor not shown.
what is the difference two situation?
You've downloaded only one file "ckeditor.js" but it tries to load many other files (images, css, language files, dialogs, ...) so it can't work that way.
You should download instead the full package that you can deploy to your server: http://ckeditor.com/download

TypeScript - Visual Studio - d3

I created a new TypeScirpt project, added the json file to the solution, changed the 'Copy to Output directory' property to Copy always.
When I F5 the project, the browser complains that it cannot find the resource somedata.json
If I run the python SimpleHTTPServer, load up the same html file, it works.
<script type="text/javascript">
d3.json("somedata.json", draw);
</script>
Thank you.
Have you tried using the full path from the root of the site to obtain the somedata.json file?
d3.json("/scripts/somedata.json", draw);
Replace /scripts/ with the correct path in your instance, but start the address with a leading / to make it relative to the root.
This may be related to MIME types that the server used by Visual Studio is allowed to serve. You can define such MIME types at web.config btw if this is an ASP.net project.
Also see this official example in case it helps:
http://www.typescriptlang.org/Samples#D3
Have you tried to run the project using ASP.NET Development Server?

Installation problem: couldn't find XML in the pack

I'm a beginner in Joomla CMS, and maybe the answer is obvious.
I've downloaded the lastest released version of sIFR 2.0.7. When I try to install the plugin on my Joomla site through the wizard, it tells me that the package doesn't contain an XML install file. I've opened the .zip archive and I couldn't find it either, as the installer wizard told me.
Maybe I'm missing something, but how can I install the package ? Is there any requirement ?
Regards,
Yoann
P.S: sorry if my english is bad, I'm french :)
You can not download sIFR-2.0.7.zip and expect it to load like a Joomla plug-in. You must get sIFR from here Joomla sIFR. This will load without any problems, since it is designed to be a Joomla 1.5+ addon. The name of the file you get is bot_sifr_v2.0.7_J15.zip.
In order to get everything running, you will respond according to this message:
Loads sIFR inside joomla, place the following code at the bottom of your template (just before </body></html>) to make it work:
<script type="text/javascript">
if(typeof sIFR == "function"){
sIFR.replaceElement(".contentheading, .componentheading", named(
{sFlashSrc: "plugins/system/bot_sifr/tradegothic.swf", sColor: "#c64934", sWmode: "transparent"}
));
}
</script>

Resources