Page 1 of 1

Using uploaded files in WYSIWYG editor?

Posted: Fri 16. Jul 2004, 08:04
by dakkon
I've just set up phpWCMS and I'm playing with it to see if it's going to be the right tool for a client of mine.

They want a WYSIWYG editor, and I see that this uses the FCKEditor, which I love. The only thing I'm confused about is... what are the files for that are uploaded?

Is there a way for a user who is using the WYSIWYG editor to be able to select an imave they've uploaed and insert it in their document they are editing? I figured they'd just be able to click "Add Image", click on the image, and it'd be added to the editing area... but it doesn't look like that's how this works?

If this isn't a standard feature, has someone come up with a hack that does this? Seems like a very important feature to be in here, hard to imagine it was overlooked :/

Thanks in advance!

/dak

Posted: Fri 16. Jul 2004, 08:16
by Pappnase
hello

if you upload file via ftp or the file center, if you had takeover them you can choose the contentpart "text w/ images" and you can use your uploaded images in articles.

Posted: Fri 16. Jul 2004, 08:42
by dakkon
I was hoping that in the regular WYSIWYG editor, you could add images to that editable area... so you can resize them, etc... and move them around the editable area.

This way you could have more than one image in an area and you could move it around... the FCKEditor used to allow this, I'm sure it still does... but the images that are uploaded need to be able to be dropped into the WYSIWYG editor...

Posted: Fri 16. Jul 2004, 08:45
by Pappnase
hello

it will come as far as i know, but oliver will only include an final release of html area if i remember right.

Posted: Fri 16. Jul 2004, 15:15
by jsw_nz
I believe OliverG has plans to support FCK 2, once it has passed beta stage. In the meantime, the SPAW editor does allow you to upload images into directories, which by default includes 'pictures' and a 'phpwcms'. You can however specify any number of additional directories by editing the inlcude/inc_ext/spaw/config/spaw_control.config.php file...
Unfortunately no 'literal image sizing' is supported in Spaw, however Oliver's support for images in summary templates and image / image & text content-parts (drawing from file manager) does support this.

This thread may be of interest if you are wanting to customize directories in Spaw editor:

http://www.phpwcms.de/forum/viewtopic.php?t=2577

Spaw is option 3 of line 41 in inc_conf/conf.inc.php file:

Code: Select all

$phpwcms["wysiwyg_editor"]=3; //0=no wysiwyg editor, 1=HTMLarea, 2=FCKeditor, 3=browser based


Cheers