Update FCKeditor from v1.5 -> v2 RC1

Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Re: Problem with Insert Image - Browse Server

Post by frold »

pico wrote:have the Problem that the 'Browse Server' Function in insert Image will not work - think the path to the Images are wrong but I can't find where it is set.

When I try to upload a Image something happens - but there will be still no Image in the Browser

any help ?
I havent set up the image fucktion - because I think the one inluded in phpwcms is fare more usefull....

To let it the image-upload function work in FCKeditor you need to chmod 777 the folder "UserFiles" - But I will not recommand using the one included in FCKeditor....
http://www.studmed.dk Portal for doctors and medical students in Denmark
User avatar
sustia
Posts: 651
Joined: Fri 2. Apr 2004, 22:29
Location: Lecce (Italy)
Contact:

Post by sustia »

Hi frold, in the fckeditor.php I found this:

Code: Select all

$this->BasePath		= "http://frold.lir.dk/jopa/include/inc_ext/FCKeditorv2/" ;
Maybe we must replace this string? :?
Campeones del mundo!
Vegetables!
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

Shouldn´t be a problem... fckeditor.php is not used - it use fckeditor.editor.inc.php instead, but now I have updated it...
http://www.studmed.dk Portal for doctors and medical students in Denmark
User avatar
sustia
Posts: 651
Joined: Fri 2. Apr 2004, 22:29
Location: Lecce (Italy)
Contact:

Post by sustia »

Ok, thanks a lot :)
Campeones del mundo!
Vegetables!
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

sustia wrote:Ok, thanks a lot :)
But thanks for telling me about the wrong path... ;-)
http://www.studmed.dk Portal for doctors and medical students in Denmark
Hero
Posts: 87
Joined: Thu 16. Dec 2004, 16:14
Location: Düsseldorf
Contact:

Post by Hero »

I get the following error when I try to edit an artikel:

Fatal error: Call to undefined function: create() in /usr/export/www/vhosts/funnetwork/hosting/gruleiru/phpwcms/include/inc_tmpl/content/cnt14.inc.php on line 52


What did I do wrong?

thanks
Andreas
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

Hero wrote:I get the following error when I try to edit an artikel:

Fatal error: Call to undefined function: create() in /usr/export/www/vhosts/funnetwork/hosting/gruleiru/phpwcms/include/inc_tmpl/content/cnt14.inc.php on line 52


What did I do wrong?

thanks
Andreas
I guess you have done somethings wrong in this step:

Open:
inc_tmpl/content/cnt14.inc.php
http://www.studmed.dk Portal for doctors and medical students in Denmark
Hero
Posts: 87
Joined: Thu 16. Dec 2004, 16:14
Location: Düsseldorf
Contact:

Post by Hero »

O I did it again, and it works!
How can I change the double space between the lines`?

thanks!
Andreas
Hero
Posts: 87
Joined: Thu 16. Dec 2004, 16:14
Location: Düsseldorf
Contact:

Post by Hero »

Hero wrote:O I did it again, and it works!
How can I change the double space between the lines`?
Ok, I found out that if you press the shift key when you use the enter key it works. But thats not very comfortable.

is there a way to change that?
by
Andreas
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

Hero wrote:
Hero wrote:O I did it again, and it works!
How can I change the double space between the lines`?
Ok, I found out that if you press the shift key when you use the enter key it works. But thats not very comfortable.

is there a way to change that?
by
Andreas
¨

about howto use FCKeditor and to request changes - please use fckeditors homepage and support forum!!

I have just made FCKeditor v2 rc1 work with phpwcms
http://www.studmed.dk Portal for doctors and medical students in Denmark
Hero
Posts: 87
Joined: Thu 16. Dec 2004, 16:14
Location: Düsseldorf
Contact:

Post by Hero »

Ok, I'll do that!

andreas
Hero
Posts: 87
Joined: Thu 16. Dec 2004, 16:14
Location: Düsseldorf
Contact:

Post by Hero »

frold wrote:
about howto use FCKeditor and to request changes - please use fckeditors homepage and support forum!!
If anybody would answer me there :evil:

But how did you fix that?
I canntot imagine that you have always a double space free between the lines when you press the enter key!?!
Thats terrible for any design..

any suggestions? please :) :P

Andreas
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

in the support forum there you can find this answer

you can modify the fck_editorarea.css to add to p attribut which allow to have a normal line break.

example :
p
{
padding: 1px 1px 1px 1px;
padding-top: 0px;
padding-bottom: 0px;
margin: 0px 0px 0px 0px;
}

For me, it allows to have no difference between Enter and shift+Enter.
http://www.studmed.dk Portal for doctors and medical students in Denmark
Hero
Posts: 87
Joined: Thu 16. Dec 2004, 16:14
Location: Düsseldorf
Contact:

Post by Hero »

thank you! Thats it!

merry christmas to you!
Andreas
User avatar
marcus@localhorst
Posts: 815
Joined: Fri 28. May 2004, 11:31
Location: localhorst
Contact:

FCKEditor deletes the values of my hidden form fields :-(

Post by marcus@localhorst »

hi, i've updated successful the ne FCKe version because the old version deletes the value attribute of my hidden formfields, when i switch in source code mode.
after updating to 2.0, it's the same :-(
the strange is, i use an own developed CMS on which i include FCK, and there it works without problems...

any idea?
greetings marcus
Locked