Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Upload files from page editor
#1
(Don't know if this has been suggested before.)

I think it would be great if you could upload images (or any file) while editing a page. I suppose the filebrowser popup would be the place to add this.

Right now users must upload their files first (Files tab), only then they can select them in the page editor.
Reply
#2
Agreed, I started working on a plugin or mod to do this but there were bugs in cke i could not work around.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#3
How about a modal window loading "files tab" in iframe ?
For the purpose of administering website it doesn't need to be superhtml5 solution.
Addons: blue business theme, Online Visitors, Notepad
Reply
#4
(2013-09-24, 00:54:35)Carlos Wrote: Right now users must upload their files first (Files tab), only then they can select them in the page editor.
(2013-09-28, 08:34:26)yojoe Wrote: How about a modal window loading "files tab" in iframe ?

Or they can have two tabs open in the admin interface ...
--
Nick.
Reply
#5
If I use yojoe's WJ Notepad plugin and put an Iframe in it pointing to the files page, I can upload files while staying in the edit page screen.

The notes popup is rather small though and doesn't seem to fully support the fluid layout setting.
Reply
#6
it will be a super and awesome plugin...
all of the community get-simple is waiting on it...
Wink
user plugin: scroll to top
Reply
#7
problem solved Wink

step 1
download:
http://pgrfilemanager.sourceforge.net/
i'm was download from a site:
http://sourceforge.net/projects/pgrfilemanager/files/
(pgrfilemanagerv2.1.0.zip)

step 2
upload a file (after extraction)
to a:
admin/template/js/ckeditor/plugins/
it must be in folder named "pgrfilemanager"

step 3
in pgrfilemanager file edit a myconfig.php file

input a correct
PGRFileManagerConfig::$rootPath
PGRFileManagerConfig::$urlPath

if you have a trouble with it...
launch from a http file mypath.php
it/s in YOURSITE URL: /admin/template/js/ckeditor/plugins/pgrfilemanager/mypath.php...

you will se a url and rootpath..
input it in pgrfilemanager myconfig.php file
line 32:
PGRFileManagerConfig::$rootPath =
and line 37:
PGRFileManagerConfig::$urlPath =


step 4
in file edit.php
root of install getsimple: admin/edit.php
change
329 line:
filebrowserBrowseUrl : 'filebrowser.php?type=all',
on change (comment it)
//filebrowserBrowseUrl : 'filebrowser.php?type=all',
and 330 line:
filebrowserImageBrowseUrl : 'filebrowser.php?type=images',
on change:
filebrowserImageBrowseUrl : '<?php echo $fullpath; ?>admin/template/js/ckeditor/plugins/pgrfilemanager/PGRFileManager.php?langCode=en&type=Link',

save this file...

step 5
If you have a trouble with Thumb in pgrfilemanager...
read a:
http://pgrfilemanager.sourceforge.net/
configuration:
Remember to set write permission for PGRFileManager/PGRThumb/cache folder (necessary for thumbs generator)
add a 777 atribute for this folder "PGRThumb" and "PGRThumb/cache"


it's works!!!
keep enjoy
user plugin: scroll to top
Reply




Users browsing this thread: 1 Guest(s)