Modified and enhanced FCKeditor2.0 Final for phpWCMS
Modified and enhanced FCKeditor2.0 Final for phpWCMS
Hi
have build a new Pakage of FCK -
* no configuration needed
* Editing in a new seperate scalable Window
* new ImageManager - browse the Images wich are uploaded with the phpWCMS Filemanager - with relative and absolute URL's
* enhanced Table Functions
* CSS-Editor
more Information see here
download
# unzip it
# rename your old Path ../include/inc_ext/FCKeditor2 to ../include/inc_ext/FCKeditor2old
# upload the new one to your Server to ../include/inc_ext/FCKeditor2
have fun
have build a new Pakage of FCK -
* no configuration needed
* Editing in a new seperate scalable Window
* new ImageManager - browse the Images wich are uploaded with the phpWCMS Filemanager - with relative and absolute URL's
* enhanced Table Functions
* CSS-Editor
more Information see here
download
# unzip it
# rename your old Path ../include/inc_ext/FCKeditor2 to ../include/inc_ext/FCKeditor2old
# upload the new one to your Server to ../include/inc_ext/FCKeditor2
have fun
Hi pico,
thanx first for digging this out for all.
i uploaded your last version, can brose through all uploaded images, but don't see the image when loaded in FCK editor - i still see the red x instead of an image - what went wrong here? any idea?
when i open page in frontend mode i see the image well rendered.
thanx first for digging this out for all.
i uploaded your last version, can brose through all uploaded images, but don't see the image when loaded in FCK editor - i still see the red x instead of an image - what went wrong here? any idea?
when i open page in frontend mode i see the image well rendered.
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
hi pico,
used your version before and now your posted version a few minutes ago - in 1.2.5 dev release.
used your version before and now your posted version a few minutes ago - in 1.2.5 dev release.
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
mhh?
do you use ImageMagick or GD on your Server?
Have it only tested with GD
EDITED
take a look into the confic.inc.php in ../include/inc_ext/FCKeditor2/editor/plugins/ImageManager/
Line 52 ff.
maybe you have to change this
do you use ImageMagick or GD on your Server?
Have it only tested with GD
EDITED
take a look into the confic.inc.php in ../include/inc_ext/FCKeditor2/editor/plugins/ImageManager/
Line 52 ff.
Code: Select all
/*
Possible values: 'GD', 'IM', or 'NetPBM'
The image manipulation library to use, either GD or ImageMagick or NetPBM.
If you have safe mode ON, or don't have the binaries to other packages,
your choice is 'GD' only. Other packages require Safe Mode to be off.
*/
define('IMAGE_CLASS', 'GD');
Last edited by pico on Tue 9. Aug 2005, 18:40, edited 1 time in total.
using imagemagick.
tried using absURL -no images are shown, with relURL images are rendered well.
tried using absURL -no images are shown, with relURL images are rendered well.
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
no no problem - you work on nother place :-)
so, changed but makes no effect.
can insert, browse images, but do not see them rendered in backend - works in frontend.
perhaps lacks of sessions...?
so, changed but makes no effect.
can insert, browse images, but do not see them rendered in backend - works in frontend.
perhaps lacks of sessions...?
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
Localhost Win XP/IIS setup.
Hi pico. I am looking forward to using this so I downloaded the files, but I have a couple of issues.
1) I'm using PHPWCMS 1.2.3. Does this require 1.2.5?
2) I have been using the FCKeditor that ships with 1.2.3 ( I believe it's the RC) and it works o.k. In your version however, I find any CSS in frontend.css for the 'BODY' tag of the site gets shown in the FCKeditor text window.
E.g. I have CSS to show a left sidebar column running from the top to the bottom of the screen using a repeating GIF image:
Unfortunately, this now also appears in the FCKeditor edit window. It's the same in IE and Firefox. Is this a FCKeditor 2 final 'feature' (to display body tag CSS) or a bug?.
3) I get an error opening the image manager:
Although I appreciate this may just be a Windows path or PHPWCMS version thing if it works for everyone else.
Hi pico. I am looking forward to using this so I downloaded the files, but I have a couple of issues.
1) I'm using PHPWCMS 1.2.3. Does this require 1.2.5?
2) I have been using the FCKeditor that ships with 1.2.3 ( I believe it's the RC) and it works o.k. In your version however, I find any CSS in frontend.css for the 'BODY' tag of the site gets shown in the FCKeditor text window.
E.g. I have CSS to show a left sidebar column running from the top to the bottom of the screen using a repeating GIF image:
Code: Select all
body { background: #ffffff url(../../picture/leftcolumn.gif) repeat-y left top }
Unfortunately, this now also appears in the FCKeditor edit window. It's the same in IE and Firefox. Is this a FCKeditor 2 final 'feature' (to display body tag CSS) or a bug?.
3) I get an error opening the image manager:
Code: Select all
Fatal error: main(): Failed opening required '/config/phpwcms/conf.inc.php'
(include_path='.;c:\php\includes')
in c:\inetpub\wwwroot\websitedemo\include\inc_ext\FCKeditor2\editor\plugins
\ImageManager\config.inc.php on line 28
@peekay
1. think that it work also with Version down to 1.2.1
2. I have Linked the CSS to the frontend.css - you can change this in ../include/inc_ext/FCKeditor2/fckconfig.js
3. I don't know why this happens ?
maybe your DOCUMENT_ROOT Variable is not set - try to change the Path to your phpWCMS - conf.inc.php in ../include/inc_ext/FCKeditor2/editor/plugins/ImageManager/config.inc.php
hope this solve your Problems
1. think that it work also with Version down to 1.2.1
2. I have Linked the CSS to the frontend.css - you can change this in ../include/inc_ext/FCKeditor2/fckconfig.js
Code: Select all
// FCKConfig.EditorAreaCSS = FCKConfig.BasePath + 'css/fck_editorarea.css' ;
FCKConfig.EditorAreaCSS = FCKConfig.BasePath +'../../../../phpwcms_template/inc_css/frontend.css' ;
Code: Select all
require_once ($_SERVER['DOCUMENT_ROOT'].'/config/phpwcms/conf.inc.php');
hope this solve your Problems
Thx pico. That did the trick!
I returned the CSS to it's default and that got rid of my repeating GIF column. I had to add absolute paths for the include statement and the filestorage location. The script doesn't seem to pick up the phpwcms VARs on my system (doc root is set properly). Could be just a Windows thing.
If anyone else has similar probs, this works for me, as long as I select 'absURL-OK' when adding the image. My additions in red.
I returned the CSS to it's default and that got rid of my repeating GIF column. I had to add absolute paths for the include statement and the filestorage location. The script doesn't seem to pick up the phpwcms VARs on my system (doc root is set properly). Could be just a Windows thing.
If anyone else has similar probs, this works for me, as long as I select 'absURL-OK' when adding the image. My additions in red.
*/
$IMConfig['base_dir'] = 'c:/inetpub/wwwroot/websitedemo/phpwcms_filestorage';
/*
The URL to the above path, the web browser needs to be able to see it.
It can be protected via .htaccess on apache or directory permissions on IIS,
check you web server documentation for futher information on directory protection
If this directory needs to be publicly accessiable, remove scripting capabilities
for this directory (i.e. disable PHP, Perl, CGI). We only want to store assets
in this directory and its subdirectories.
*/
//require_once ($_SERVER['DOCUMENT_ROOT'].'/config/phpwcms/conf.inc.php');
require_once ($_SERVER['DOCUMENT_ROOT'].'c:/inetpub/wwwroot/websitedemo/config/phpwcms/conf.inc.php');
// pk $IMConfig['base_url'] = '/'.$phpwcms['file_path'];
$IMConfig['base_url'] = '/websitedemo/'.$phpwcms['file_path'];
// pk $IMConfig['base_dir'] = $_SERVER['DOCUMENT_ROOT'].$IMConfig['base_url'];
$IMConfig['server_name'] = $_SERVER['SERVER_NAME'];
@pico regard this new version:
1. does it support public and privat images?
2. if you upload images via the FCKeditor can they then be used in phpwcms's own file system?
1. does it support public and privat images?
2. if you upload images via the FCKeditor can they then be used in phpwcms's own file system?
http://www.studmed.dk Portal for doctors and medical students in Denmark
what is new then?new ImageManager - browse the Images wich are uploaded with the phpWCMS Filemanager - with relative and absolute URL's
http://www.studmed.dk Portal for doctors and medical students in Denmark