<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://docs-old.ckeditor.com/index.php?action=history&amp;feed=atom&amp;title=Template%3ACKFinder_2.x_myplugin_code</id>
		<title>Template:CKFinder 2.x myplugin code - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://docs-old.ckeditor.com/index.php?action=history&amp;feed=atom&amp;title=Template%3ACKFinder_2.x_myplugin_code"/>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=Template:CKFinder_2.x_myplugin_code&amp;action=history"/>
		<updated>2026-05-05T14:40:21Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.29.1</generator>

	<entry>
		<id>https://docs-old.ckeditor.com/index.php?title=Template:CKFinder_2.x_myplugin_code&amp;diff=3340&amp;oldid=prev</id>
		<title>Wiktor at 09:31, 25 May 2010</title>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=Template:CKFinder_2.x_myplugin_code&amp;diff=3340&amp;oldid=prev"/>
				<updated>2010-05-25T09:31:20Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 09:31, 25 May 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;===== plugin.js =====&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;.. and the client side (JavaScript) plugin that will call the FileSize command:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;.. and the client side (JavaScript) plugin that will call the FileSize command:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;(save the code as '''plugin.js''' in &amp;quot;plugins/myplugin&amp;quot; folder)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;(save the code as '''plugin.js''' in &amp;quot;plugins/myplugin&amp;quot; folder)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Wiktor</name></author>	</entry>

	<entry>
		<id>https://docs-old.ckeditor.com/index.php?title=Template:CKFinder_2.x_myplugin_code&amp;diff=3310&amp;oldid=prev</id>
		<title>Wiktor: Created page with '.. and the client side (JavaScript) plugin that will call the FileSize command: (save the code as '''plugin.js''' in &quot;plugins/myplugin&quot; folder) &lt;source&gt; CKFinder.addPlugin( 'mypl…'</title>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=Template:CKFinder_2.x_myplugin_code&amp;diff=3310&amp;oldid=prev"/>
				<updated>2010-05-25T08:07:17Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;.. and the client side (JavaScript) plugin that will call the FileSize command: (save the code as &amp;#039;&amp;#039;&amp;#039;plugin.js&amp;#039;&amp;#039;&amp;#039; in &amp;quot;plugins/myplugin&amp;quot; folder) &amp;lt;source&amp;gt; CKFinder.addPlugin( &amp;#039;mypl…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;.. and the client side (JavaScript) plugin that will call the FileSize command:&lt;br /&gt;
(save the code as '''plugin.js''' in &amp;quot;plugins/myplugin&amp;quot; folder)&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
CKFinder.addPlugin( 'myplugin', function( api ) {&lt;br /&gt;
	api.addFileContextMenuOption( { label : 'File Size', command : &amp;quot;FileSize&amp;quot; } , function( api, file )&lt;br /&gt;
	{&lt;br /&gt;
		api.connector.sendCommand( 'FileSize', { fileName : api.getSelectedFile().name }, function( xml )&lt;br /&gt;
		{&lt;br /&gt;
			if ( xml.checkError() )&lt;br /&gt;
				return;&lt;br /&gt;
&lt;br /&gt;
			var size = xml.selectSingleNode( 'Connector/FileSize/@size' );&lt;br /&gt;
			api.openMsgDialog( &amp;quot;&amp;quot;, &amp;quot;The exact size of a file is: &amp;quot; + size.value + &amp;quot; bytes&amp;quot;);&lt;br /&gt;
		} );&lt;br /&gt;
	});&lt;br /&gt;
});&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiktor</name></author>	</entry>

	</feed>