<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CKFinder - Sample - Popup</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="noindex, nofollow" />
<link href="sample.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/ckfinder/ckfinder.js"></script>
<script type="text/javascript">
function BrowseServer()
{
// You can use the "CKFinder" class to render CKFinder in a page:
var finder = new CKFinder();
finder.basePath = '/ckfinder/';
finder.selectActionFunction = SetFileField;
finder.SelectFunction = 'ShowFileInfo';
finder.popup();
}
// This is a sample function which is called when a file is selected in CKFinder.
function SetFileField( fileUrl )
{
document.getElementById( 'xFilePath' ).value = fileUrl;
}
</script>
</head>
<body>
<h1>
CKFinder - Sample - Popup<br />
</h1>
<p>
Selected File URL<br />
<input id="xFilePath" name="FilePath" type="text" size="60" />
<input type="button" value="Browse Server" onclick="BrowseServer();" />
</p>
</body>
</html>
Sun, 11/14/2010 - 04:53
#1

Re: ckfinder popup upload problem
Sample directory works _perfectly_, but the minute you move the sample code out to a different folder, it's shot. Cannot see what I'm doing wrong.
Anyone??
Re: ckfinder popup upload problem
CKEditor and CKFinder integrate fine, its only when an instance of CKFinder is launched using finder.popup();
Re: ckfinder popup upload problem
http://ckfinder.com/download
ckfinder/_samplesckfinder
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: ckfinder popup upload problem
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: ckfinder popup upload problem
It's only an iExplorer problem. Firefox, Opera and Safari works.
Re: ckfinder popup upload problem
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: ckfinder popup upload problem
Please help!
Re: ckfinder popup upload problem
demo page
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+