Absolute Pfadangabe bei hochgeladenen Bildern via FCK

Hier bekommst Du deutschsprachigen Support. Keine Fehlermeldungen oder Erweiterungswünsche bitte!
Post Reply
phalancs
Posts: 793
Joined: Thu 19. Feb 2004, 05:09
Location: Germany

Absolute Pfadangabe bei hochgeladenen Bildern via FCK

Post by phalancs »

Wenn man in den Newsletter Bilder hineinladen möchte und dazu das Upload Tool des FCK Editors nutzt, werden derzeit
immer relative Pfade eingesetzt. Die Bilder können dann natürlich nicht korrekt beim Empfänger angezeigt werden.

Weiss jemand wo ich etwas verändern muss, damit die url vorangestellt wird?

Danke im voraus :)
2008
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: Absolute Pfadangabe bei hochgeladenen Bildern via FCK

Post by update »

Das sollte doch in der fckconfig.js möglich sein ...
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
phalancs
Posts: 793
Joined: Thu 19. Feb 2004, 05:09
Location: Germany

Re: Absolute Pfadangabe bei hochgeladenen Bildern via FCK

Post by phalancs »

Solution found:

include/inc_ext/fckeditor/editor/filemanager/connectors/php/config.php

Code: Select all

$Config['UserFilesPath'] = "http://www.yourdomain.com/imagefolder/";
There should be a constant used or sth. like that instead of hardcoding it. Maybe its sth. for oliver to
improve phpwcms, since this is really necessary for the proper use of fck with the newsletter-tool.
2008
User avatar
Cipolla
Posts: 451
Joined: Sat 16. Feb 2008, 20:39
Location: Muppet Show

Re: Absolute Pfadangabe bei hochgeladenen Bildern via FCK

Post by Cipolla »

Thanks for sharing!

Please add to Wiki.
...
User avatar
santscho
Posts: 1442
Joined: Mon 2. Apr 2007, 08:56
Location: Schweiz

Re: Absolute Pfadangabe bei hochgeladenen Bildern via FCK

Post by santscho »

Geile Lösung. Bisher habe ich immer in den fck-html-(source code)-Modus gewechselt und den die absolute URL manuell angepasst.
Schon Konfuzius sagte: "Sei kein YAML-Lappen". YAML-phpwcms-Integration auf http://www.yaml.phpwcms.org
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: Absolute Pfadangabe bei hochgeladenen Bildern via FCK

Post by update »

santscho wrote:Geile Lösung
:)
Ja! Der Nachteil ist jedoch, dass nun alle Bilder diesen Pfad haben, oder?
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Post Reply