Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
4
Erster Beitrag:
vor 5 Jahren
Letzter Beitrag:
vor 5 Jahren
Beteiligte Autoren:
Peter Holemans, Piet van Zanten

[WB18] FKEditor and custom awp filebrowser

Startbeitrag von Peter Holemans am 07.08.2013 16:08

Hi,

I successfully integrated FKEditor into my mixed dynamic/AWP site.
However, when using the standard upload components (e.g. to insert images) the file browser to upload images (or browse server side images) these won't work since these are php calls.

Now here's my question:
1) Is it necessary to write a custom awp upload page to be called by FKEditor for the user to select the file to upload?
If so, has anybody an example on how this call-back to FKEditor needs to be organised?
I understand these are parameters in the JS code for initializing FKEditor but can't understand very well how this works.
2) If the above is not necessary, what are the requirements to get this to work out of the box in a non php environment (Win2008R2, IIS, WebDev mixed Dynamic+AWP).

Any hints would be greatly appreciated.

TIA!

Cheers,

Peter H.

Antworten:

Hi Peter,

It is possible to use PHP plugins, look at this post under deployment notes.
It is for Apache, but meantime I have it working for IIS too.
If you need any help for IIS I'll check my server to see how I did it.

Regards,
Piet

von Piet van Zanten - am 07.08.2013 22:55
Hi Piet,

Thank you very much for this!
I probably overlooked it last time when you helped me out...

This is really appreciated.
I'll try it out right away.

Cheers,

Peter H.

von Peter Holemans - am 08.08.2013 09:31

SOLVED: [WB18] FKEditor and custom awp filebrowser

Hi Piet,

Never mind the below. I found it...
The default path is in the pdw_file_browser folder.
It should therefore be:
$uploadpath='/../userfiles/'

Thanks anyway!

Peter


Hi Piet,

It took me quite some tweaking to get it +/- to work...
I'm almost there but when I click Browse Server on the upload button I get:
"Upload folder doesn't exist or $uploadpath in config.php is set wrong!"

In config.php I have set this to be $uploadpath = '/E1Print_WEB/userfiles/'; and the directory exists and has all read/write access...

Do you have a hint?

Thanks,

Peter H.


von Peter Holemans - am 08.08.2013 13:42
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.