Page 2 of 3

Posted: Wed 10. Aug 2005, 14:03
by pico
* Editing in a new seperate scalable Window
* new ImageManager - browse the Images wich are uploaded with the phpWCMS Filemanager
* enhanced Table Functions
* CSS-Editor

Posted: Wed 10. Aug 2005, 14:53
by frold
never mind....

Posted: Wed 10. Aug 2005, 15:07
by Peekay
* CSS-Editor
I confess I don't quite understand the point of this feature. It appears to be a point-n-click CSS code 'builder', but I don't see how the code could be used in FCKeditor. Is it just a handy utility, or am I missing something?

Posted: Wed 10. Aug 2005, 20:21
by pico
@peekay

for inserting the Code into FCK you have to Click first the 'Preview' and then the 'Insert' Button

Posted: Thu 11. Aug 2005, 09:26
by rushclub
hi there,

have installed the new fckeditor as described but i still get the old screen. no css-button and no new imagebutton. over the old image button i dont get the images. what am i doing wrong? phpwcms 1.2.4 and firefox under osx.

is my path wrong:

Code: Select all

FCKConfig.CustomConfigurationsPath = 'www.domain.de/pathtocms/include/inc_ext/FCKeditor2/fckconfig.js' ;
cheers
rush

Posted: Thu 11. Aug 2005, 13:01
by rushclub
rushclub wrote:hi there,

have installed the new fckeditor as described but i still get the old screen. no css-button and no new imagebutton. over the old image button i dont get the images. what am i doing wrong? phpwcms 1.2.4 and firefox under osx.

is my path wrong:

Code: Select all

FCKConfig.CustomConfigurationsPath = 'www.domain.de/pathtocms/include/inc_ext/FCKeditor2/fckconfig.js' ;
cheers
rush
after clearing the cache i have the new interface, but the new imagefeature did not work. only a blank screen opens after a click ;(

cheers
rush

Posted: Thu 11. Aug 2005, 14:55
by Apollo2000
cyrano wrote: can insert, browse images, but do not see them rendered in backend - works in frontend.
Did you find a solution for this? I got the same problem and don´t know how to move on. :(

Posted: Thu 11. Aug 2005, 20:24
by pico
@apollo2000

sorry - no - didn't here anything from cyrano - and can't reproduce this Problem.

wich Browser on what OS are you using?

maybe send a PM with login-Data for Backend and FTP so I can take a look to it.

Posted: Fri 12. Aug 2005, 06:55
by Apollo2000
wich Browser on what OS are you using?
Win2k Prof. SP4 / IExplorer 6.0 / Firefox 1.03
phpWcms 1.25-DEV with your modified FCKEditor 2.0

And I discovered another problem that did not show with the FCKEditor that was integreted in phpwcms 1.23-DEV: When I use contenpart pictures or text with picture the thumbnail can´t be created.
In preview I get this message:
Warning: getimagesize(/home/www/myaccount/html/phpwcms_filestorage/image_placeholder.png): failed to open stream: No such file or directory in /home/www/myaccount/html/include/inc_lib/imagick.convert.inc.php on line 71
imagick.convert.inc.php line 70-75:
// check if it is useful only to copy the image
$check_image = getimagesize($imagick["image_dir"].$imagick["image_name"]);

$channel_check = (isset($check_image['channels']) && $check_image['channels'] == 3) ? true : false;

if($channel_check && $check_image && ($check_image[2] == 1 || $check_image[2] == 2 || $check_image[2] == 3)) {

Posted: Fri 12. Aug 2005, 19:50
by Zym0tiC
I have a problem in fckeditor in the imagepreview dialog where I don't see any images. after selecting a image, without knowing which one exactly :? , and inserting it into the editor itself it will appear.


This is my phpinfo() output related tot GD:

Code: Select all

GD Support  enabled  
GD Version  bundled (2.0.12 compatible)  
FreeType Support  enabled  
FreeType Linkage  with freetype  
GIF Read Support  enabled  
JPG Support  enabled  
PNG Support  enabled  
WBMP Support  enabled  
XBM Support  enabled  
The occurs on Windows + IE/FF and Linux FF

Posted: Fri 12. Aug 2005, 22:37
by pico
Hi

wired Problems -
one can see the Images in the Browser but not in the Editor -
and the next can see the Images in the Editor but not in the Browser
and anotherone gets only a empty Box for the Browser

I'm confused - for me and a lot of others it works
and I can't reproduce this Problems in any kind :?:

are there any Scripterrors visible ?

Posted: Sat 13. Aug 2005, 00:28
by Peekay
It worked fine for me on my Win XP/IIs system with dev 1.2.3, but only if I hard-code the paths (see earlier post).

@apollo2000
You seem to have a unix path in your error
Warning: getimagesize(/home/www/myaccount/html/phpwcms_filestorage/
is that right for Windows 2000?. It's looking for PHPWCMS in the root, not a sub directory, so I wondered if it might be a path thing. Also, do you use ImageMagick instead of GD? I just wondered what the 'imagik' mentioned in the error is.

Posted: Sat 13. Aug 2005, 01:21
by Zym0tiC
Yeah I have it working!!! :lol:

Here the steps that I followed. I'm sure that not all of them are very usefull but because I don't know wat exactly did it I post it all.

I used Firefox to do this

Code: Select all

1) Open /var/www/html/include/inc_ext/FCKeditor2/editor/plugins/ImageManager/config.inc.php

2) Change the following: 
$IMConfig['safe_mode'] = true;
$IMConfig['thumbnail_dir'] = false;
(This is because I have safe mode enabled on my server

3) Open the imagemanager dialog, richtclick on the place where an image preview should appear. Choose view image. Now you you have to see a small picture of that image.

4) Close the window with that image, exit imagemanager. 

5) Try to upload a new image to your filestorage as usual.

6) Open the imagemanager and pray  :twisted: 
I hope I helped someone with this.

Posted: Sat 13. Aug 2005, 08:05
by Apollo2000
hmm...I made a rightclick on the image names in imagemanager with Firefox and got another error message which complains about a missing directory in phpwcms_filestorage

So I created that directory phpwcms_filestorage/.thumbs, chmod 777, and the problem is solved :D
Now I can see the preview pics in image manager and also in content part "pictures" or "text with picture". :)

Posted: Sat 13. Aug 2005, 10:39
by pico
Hi

I found that on some Servers the .thumbs Folder is not visible by the Server configuration.

So try to change the default Name of the '.thumbs' Directory to something like 'thumbs' and create a Folder with this Name in phpwcms_filestorage and set the Permissions to 777.

You'll find this in ../include/inc_ext/FCKeditor2/editor/plugins/ImageManager/config.inc.php

also the prefix for the thumb-Filenames

hope it solves some Problems.