Modified and enhanced FCKeditor2.0 Final for phpWCMS
@pico
I have never used FCKeditor before now, so forgive me if this is a dumb question, but I am confused.
When I click the 'image manager' button on the FCKeditor (the second one in) I can insert images from the file centre. I don't have a .thumbs folder in phpwcms_filestorage and it works fine.
I can see there's also an 'insert image' button, which opens a dialogue box where you can enter a remote URL. I tried pressing the 'browse server' button which opens another screen with a '\' folder path. Is the thumbs folder issue something to do with this? I couldn't seem to upload anything in either of these screens.
I have never used FCKeditor before now, so forgive me if this is a dumb question, but I am confused.
When I click the 'image manager' button on the FCKeditor (the second one in) I can insert images from the file centre. I don't have a .thumbs folder in phpwcms_filestorage and it works fine.
I can see there's also an 'insert image' button, which opens a dialogue box where you can enter a remote URL. I tried pressing the 'browse server' button which opens another screen with a '\' folder path. Is the thumbs folder issue something to do with this? I couldn't seem to upload anything in either of these screens.
O.K. Thx. And congratulations BTW Apart from my Windows path problems it works very well. The PHPWCMS file centre's image resizing is unbeatable for articles, but this is a nice compliment to that.
I got excited about creating an HTML newsletter with images, but unless I'm doing something wrong, that didn't work. It saved the newsletter with the image, but of course it didn't embed it when I sent the test email. I assume I'm right in thinking that this cannot be done at the moment?
I got excited about creating an HTML newsletter with images, but unless I'm doing something wrong, that didn't work. It saved the newsletter with the image, but of course it didn't embed it when I sent the test email. I assume I'm right in thinking that this cannot be done at the moment?
Hi
http://www.domain.tld/phpwcms_filestore ... 214365.jpg
for that you have two Buttons in the ImageManager - one for a relative URL and one for absolute URL. For Newsletter use the absURL, it includes the full path to the Image like:I got excited about creating an HTML newsletter with images, but unless I'm doing something wrong, that didn't work. It saved the newsletter with the image, but of course it didn't embed it when I sent the test email. I assume I'm right in thinking that this cannot be done at the moment?
http://www.domain.tld/phpwcms_filestore ... 214365.jpg
Thx pico. I can see that option now.
I was always under the impression (it appears wrongly) that PHPWCMS embedded eCard images into it's eCard email (using some complex multi-part) and I was wondering if this could be done with a newsletter.
However, I now see that it just creates a link. So, I guess that someone who downloads the eCard email to a mail client and reads it offline is going to get a broken image icon?
I was asking because I have a user who would like to send newsletters within his organisation with images.
I was always under the impression (it appears wrongly) that PHPWCMS embedded eCard images into it's eCard email (using some complex multi-part) and I was wondering if this could be done with a newsletter.
However, I now see that it just creates a link. So, I guess that someone who downloads the eCard email to a mail client and reads it offline is going to get a broken image icon?
I was asking because I have a user who would like to send newsletters within his organisation with images.
Hi auch ich hab da noch nen Prob.
Habe hier auf einem internen Linux Web-Server phpwcms 1.2.5 Dev mit dem FCKEditor von pico installiert. Die auf dem Server vorhandenen Bilder werden mir im Resourses Browser als gebrochene links angezeigt ich sehe also keine Thmbnails. Wenn ich ein Bild trotzdem nach dem Namen auswähle wird es korrekt eingefügt. Woran kann das liegen?
Jürgen
Ich habe mal ein paar Bildschirmfotos zur Verdeutlichung gemacht.
So sehe ich die Bilder die auf dem Server abgelegt sind, oder die ich von hieraus per upload auf den Server lade.
oder
Wenn ich eines davon auswähle sehe ich folgendes:
und dann im Editor
Habe hier auf einem internen Linux Web-Server phpwcms 1.2.5 Dev mit dem FCKEditor von pico installiert. Die auf dem Server vorhandenen Bilder werden mir im Resourses Browser als gebrochene links angezeigt ich sehe also keine Thmbnails. Wenn ich ein Bild trotzdem nach dem Namen auswähle wird es korrekt eingefügt. Woran kann das liegen?
Jürgen
Ich habe mal ein paar Bildschirmfotos zur Verdeutlichung gemacht.
So sehe ich die Bilder die auf dem Server abgelegt sind, oder die ich von hieraus per upload auf den Server lade.
oder
Wenn ich eines davon auswähle sehe ich folgendes:
und dann im Editor
Last edited by jsb on Wed 8. Apr 2009, 18:13, edited 2 times in total.
SORRY
Leider bin ich nicht in der Lage meine Beiträge in Englisch zu schreiben. Wäre auch froh über Antwort auf Deutsch.
SORRY
Leider bin ich nicht in der Lage meine Beiträge in Englisch zu schreiben. Wäre auch froh über Antwort auf Deutsch.
SORRY
Hello pico,
great job your enhanced fck.
[EDIT]
Using GD -> define('IMAGE_CLASS', 'GD');
Using apache/linux/php4 and php5
A little problem occures using IE 5.5/6.0.
At all installations 1.2.3DEV / 1.2.5CVS the IE doesn´t include the pictures well. In frontend it´s ok.
cyrano wrote it before:
[/EDIT]
That is the stuff:
1. We search and insert a image with RelURL-OK:
2. Then we see this output:
Source are ok and we see:
------------------------
<tr>
<td> Text</td>
<td> Text</td>
<td> <img height="20" alt="16565a371a77cd8f3ea5dab2c34c696d.gif" hspace="" src="/phpwcms_filestorage/16565a371a77cd8f3ea5dab2c34c696d.gif" width="25" border="0" /></td>
</tr>
------------------------
Editing this picture using the fck-picture function the preview is ok.!!??
After "Open editor in new full window" and "Close window and transport changes" source looks like this:
------------------------
<tr>
<td> Text</td>
<td> Text</td>
<td> <img height="20" alt="16565a371a77cd8f3ea5dab2c34c696d.gif" src="http://$_server[/phpwcms_filestorage/16565a371a77cd8f3ea5dab2c34c696d.gif" width="25" border="0" /></td>
</tr>
------------------------
It doesn´t shown in frontend.
Inserting a picture by using the absURL it works great. But developer don´t do this. We can´t move the DB to an other domain.
Any idea?
In FF it looks like this and works great:
Second: Is there a way in FF for using <shift enter> = <br> and enter = <p> ?
Knut
great job your enhanced fck.
[EDIT]
Using GD -> define('IMAGE_CLASS', 'GD');
Using apache/linux/php4 and php5
A little problem occures using IE 5.5/6.0.
At all installations 1.2.3DEV / 1.2.5CVS the IE doesn´t include the pictures well. In frontend it´s ok.
cyrano wrote it before:
can insert, browse images, but do not see them rendered in backend - works in frontend.
[/EDIT]
That is the stuff:
1. We search and insert a image with RelURL-OK:
2. Then we see this output:
Source are ok and we see:
------------------------
<tr>
<td> Text</td>
<td> Text</td>
<td> <img height="20" alt="16565a371a77cd8f3ea5dab2c34c696d.gif" hspace="" src="/phpwcms_filestorage/16565a371a77cd8f3ea5dab2c34c696d.gif" width="25" border="0" /></td>
</tr>
------------------------
Editing this picture using the fck-picture function the preview is ok.!!??
After "Open editor in new full window" and "Close window and transport changes" source looks like this:
------------------------
<tr>
<td> Text</td>
<td> Text</td>
<td> <img height="20" alt="16565a371a77cd8f3ea5dab2c34c696d.gif" src="http://$_server[/phpwcms_filestorage/16565a371a77cd8f3ea5dab2c34c696d.gif" width="25" border="0" /></td>
</tr>
------------------------
It doesn´t shown in frontend.
Inserting a picture by using the absURL it works great. But developer don´t do this. We can´t move the DB to an other domain.
Any idea?
In FF it looks like this and works great:
Second: Is there a way in FF for using <shift enter> = <br> and enter = <p> ?
Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Hi
I see the Problem - but I can't figure out what's going wrong in IE - JS is not my speciality
have tested it with the 'original' ImagaManager (without my modifikations for phpWCMS) and it shows the same Problem. I'm trying to get Contact to the Developer of this PlugIn.
Another curiosity is that in FF a new Window opens for Sourcecode and in IE not
I see the Problem - but I can't figure out what's going wrong in IE - JS is not my speciality
have tested it with the 'original' ImagaManager (without my modifikations for phpWCMS) and it shows the same Problem. I'm trying to get Contact to the Developer of this PlugIn.
The absolute URL is a enhancement from me for Newsletter editing - there you need this.Inserting a picture by using the absURL it works great. But developer don´t do this. We can´t move the DB to an other domain.
Another curiosity is that in FF a new Window opens for Sourcecode and in IE not
there is a setting in the fckconfig.jsIs there a way in FF for using <shift enter> = <br> and enter = <p> ?
Code: Select all
FCKConfig.UseBROnCarriageReturn = false ;
Hello pico,
thanks for answer and testing.
I think these switch don´t work in FF.
But that is a generall problem of online-editors using FF. (Ist eine andere Baustelle). Within the next few days I will try to solve this problem.
I don´t be a friend of IE, but the IE is more stabil. E.g. editing a tablecell including a table FF dont´t do this right. IE has no problem.
Knut
thanks for answer and testing.
Code: Select all
FCKConfig.UseBROnCarriageReturn = false ;
But that is a generall problem of online-editors using FF. (Ist eine andere Baustelle). Within the next few days I will try to solve this problem.
I don´t be a friend of IE, but the IE is more stabil. E.g. editing a tablecell including a table FF dont´t do this right. IE has no problem.
Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Hi
about the IE ImageBrowser Problem I found this
edit the ../include/inc_ext/FCKeditor2/fckconfig.js at Line 27
change this
FCKConfig.BaseHref = '$_SERVER["SERVER_NAME"];
to
FCKConfig.BaseHref = 'http://www.yourdomain.tld'
I have inserted a php-Variable there and this can't work in JS
only wonder why it works in FireFox
about the IE ImageBrowser Problem I found this
edit the ../include/inc_ext/FCKeditor2/fckconfig.js at Line 27
change this
FCKConfig.BaseHref = '$_SERVER["SERVER_NAME"];
to
FCKConfig.BaseHref = 'http://www.yourdomain.tld'
I have inserted a php-Variable there and this can't work in JS
only wonder why it works in FireFox
Hi Pico,
just wanted to thank you for your time and explanations, you've done a velly velly good job !!! Got the FCK well integrated and the style, templates and fullwindow are really usefull things for clients.
Thank you very much indeed!
Cheers
just wanted to thank you for your time and explanations, you've done a velly velly good job !!! Got the FCK well integrated and the style, templates and fullwindow are really usefull things for clients.
Thank you very much indeed!
Cheers
1.3 out, testing, testing...
Sponsoring 4 phpwcms Blog and Usermanagement
Sponsoring 4 phpwcms Blog and Usermanagement
@Kosse
thanx
@flip-flop
does my last post solve your Problem ?
@jsb
maybe it solves your Problem too - but I think that there are something going wrong with the Thumbnail's - have you checked this
http://www.phpwcms.de/forum/viewtopic.php?p=46581#46581 and
http://www.phpwcms.de/forum/viewtopic.php?p=46910#46910 and
http://www.phpwcms.de/forum/viewtopic.php?p=46921#46921 in this Thread
--------
If you have Problems to modify (delete) something in a fresh opened EdtorWindow - just insert a Space or something - after that it works -
There are still some Bug's in the FCKeditor Core -> see forum at SourceForge
thanx
@flip-flop
does my last post solve your Problem ?
@jsb
maybe it solves your Problem too - but I think that there are something going wrong with the Thumbnail's - have you checked this
http://www.phpwcms.de/forum/viewtopic.php?p=46581#46581 and
http://www.phpwcms.de/forum/viewtopic.php?p=46910#46910 and
http://www.phpwcms.de/forum/viewtopic.php?p=46921#46921 in this Thread
--------
If you have Problems to modify (delete) something in a fresh opened EdtorWindow - just insert a Space or something - after that it works -
There are still some Bug's in the FCKeditor Core -> see forum at SourceForge
Hello pico,
Yes is does WELL AND TRULY.
My first short test was really good.
What a simple error. I have browsed source, but no look into the config.
Many thanks for spending time to solve this problem.
My statement before relating to "editing tablecells in FF" isn´t right. After changing the config, FF works fast and fine. In fullwindow-mode we can now editing source. Before it wasn´t work.
General FCK-Problems:
In IE the picturepath is switched to abs. url after toggle the fullwindow-mode. (Bad for developers).
In FF the picturepath is switched from "/phpwcms_fi" to "../../../../phpwcms_fi" after copy and paste an image but the image is shown.
Great work
Knut
does my last post solve your Problem ?
Yes is does WELL AND TRULY.
My first short test was really good.
What a simple error. I have browsed source, but no look into the config.
Many thanks for spending time to solve this problem.
My statement before relating to "editing tablecells in FF" isn´t right. After changing the config, FF works fast and fine. In fullwindow-mode we can now editing source. Before it wasn´t work.
General FCK-Problems:
In IE the picturepath is switched to abs. url after toggle the fullwindow-mode. (Bad for developers).
In FF the picturepath is switched from "/phpwcms_fi" to "../../../../phpwcms_fi" after copy and paste an image but the image is shown.
Great work
Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Hi Pico,
I love your FCKeditor and it works very well.
* Editing in a new seperate scalable Window
There are no more linebreaks and it is not clearly laid out.
Is it possible to set the editing of the source back to the same window like before?
Where can I change this? I'm using Firefox. In IE it works that way.
I love your FCKeditor and it works very well.
* Editing in a new seperate scalable Window
There are no more linebreaks and it is not clearly laid out.
Is it possible to set the editing of the source back to the same window like before?
Where can I change this? I'm using Firefox. In IE it works that way.
Gruß / regards
CC
CC