Question

Can I define upload and browse baseurl to ckfinder dynamicly in the following code? (when I m creating the ckfinder)

CKFinder.setupCKEditor(null, '@Url.Content("~/ckfinder/")');

Thanks.

Was it helpful?

Solution

in ckeditor config file I added this.

baseurl="/uploads/images/" + System.Web.Security.Membership.GetUser().ProviderUserKey;
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top