Posts: 37
Threads: 7
Joined: Sep 2016
Evening...
I've been looking for a replacement for Nucleus CMS for some time and I came across this and it looked perfect.
Question tho
In the GetSimple demo site I was able to drag and drop images into the page editor
Is there something I need to activate to make that happen on a clean install?
I did install the tinyMCE editor and it worked but I think I'd like to use the default editor
Thanks
John
Posts: 6,266
Threads: 181
Joined: Sep 2011
I have no idea how you could do that since there is no support for it, unless your browser is doing it somehow.
It looks like browser to browser drag and drop is implemented by your browser, for example chrome embeds the image into the content. File system drag and drop will be available in 3.4.
Drag and drop / upload directly in the editor would be a cool feature.
Posts: 6,266
Threads: 181
Joined: Sep 2011
It looks like the ckeditor supports this though
http://docs.ckeditor.com/#!/guide/dev_drop_paste
http://sdk.ckeditor.com/samples/fileuplo...ted-images
We can integrate it fairly easily, now that we are on the latest cke.
Posts: 6,266
Threads: 181
Joined: Sep 2011
Posts: 37
Threads: 7
Joined: Sep 2016
2016-09-26, 00:40:54
(This post was last modified: 2016-09-26, 00:43:47 by sidotij.)
what's odd then is that is works on the demo available here in firefox but not in my test install:
http://www.opensourcecms.com/demo/2/269/GetSimple+CMS
I have to say tho that so far I am loving this as a replacement
Posts: 6,266
Threads: 181
Joined: Sep 2011
it could be a cross domain restriction in your test
Posts: 37
Threads: 7
Joined: Sep 2016
I wouldn't even know how to start tracing that down...
TinyMCE seems to have that feature enabled on my test site
Posts: 37
Threads: 7
Joined: Sep 2016
2016-09-30, 23:01:37
(This post was last modified: 2016-09-30, 23:03:23 by sidotij.)
I've been picking at this for a couple days now and I can't find where the allow is
I've spent a fair amount of time comparing what I see on the opensourcecms demo page vs what I see on my test site and there's isn't a lot of difference, except for some jquery scripts (opensourcecms is using older versions)
I've eliminated any server or domain restrictions by switching to the tinymce editor where drag and drop is working in firefox
Any direction would be appreciated
The first site I'm setting up is for a not-for-profit disabled swim team and I want this to be as user friendly as I can make it for them to use
I did attempt to add uploadimage to the extra plugin settings but there is a better than average chance that I didn't do it right.. still playing with it
Code:
config.extraPlugins = 'uploadwidget';
config.extraPlugins = 'uploadimage';
config.uploadUrl = '/uploader/upload.php';
Posts: 6,266
Threads: 181
Joined: Sep 2011
i have this working, i will post a solution soon, the problem is we use a much different approach to uploading, so there needs to be some customization or a plugin to alter core.
Posts: 6,266
Threads: 181
Joined: Sep 2011
Here is the js code for ckeditor GS upload handlers
https://gist.github.com/tablatronix/faea...5f1e02f82d
you can drop this in your config.js
note that the file upload plugin requires the upload widget which also requires 4 other plugins also, so you should probably use the builder to auto add the dependancies when adding this, or make sure to add all the plugins.
Posts: 37
Threads: 7
Joined: Sep 2016
(2016-10-03, 02:46:39)shawn_a Wrote: Here is the js code for ckeditor GS upload handlers
https://gist.github.com/tablatronix/faea...5f1e02f82d
you can drop this in your config.js
note that the file upload plugin requires the upload widget which also requires 4 other plugins also, so you should probably use the builder to auto add the dependancies when adding this, or make sure to add all the plugins.
I'm gonna see what I can do with that...
as far as using the builder?
that's a bit beyond me... I'm an infrastructure guy
I can build servers, networks, firewalls and the like
building an editor? LOL no
Posts: 6,266
Threads: 181
Joined: Sep 2011
Its on ckeditors website its not hard
Posts: 37
Threads: 7
Joined: Sep 2016
easy for you maybe... my wife is the one that has to listen to me cuss when I muck it up
and mostly I don't want to be too far out from the released environment
if you know what I mean
John