FCKeditor2.1.1 for phpWCMS (pico's Edition)
Hallo
Yes - after changing anything at the JS-Source-Code in ../_Source you must repack the complete Pakage with a special Tool -> see Sourceforge Page of FCK
also remember that a lot of Functions of the FCK editor are Browserbased - so some Functions work different on different Browsers. The Problem with the Styles is one of them
you can almost 'destroy' a Layout with multiple Style changes and Formatings like Left, Center orientated - the is only one solution for that - open the HTML-Window and clear the Code by Hand.
Almost the same happens withe Tables when you delete or combine Cells or Rows - you can see this also in Tools like Dreamweaver or GoLive etc.
Best way to use WYSIWYG-Editors is to make first a Scribble on Paper and the realize it with the Editor.
Yes - after changing anything at the JS-Source-Code in ../_Source you must repack the complete Pakage with a special Tool -> see Sourceforge Page of FCK
also remember that a lot of Functions of the FCK editor are Browserbased - so some Functions work different on different Browsers. The Problem with the Styles is one of them
![Sad :(](./images/smilies/icon_sad.gif)
Almost the same happens withe Tables when you delete or combine Cells or Rows - you can see this also in Tools like Dreamweaver or GoLive etc.
Best way to use WYSIWYG-Editors is to make first a Scribble on Paper and the realize it with the Editor.
Ok, thanx pico for that information.
Much appreciated, although not very optimistic![Smile :)](./images/smilies/icon_smile.gif)
I will not touch the JS Source but try the html Template thingy as a solution.
Perhaps then style-changes will be less often necessary then.
BTW: That button fliflop talked about does not really work in most cases. In my experience id did not work with removing styles at all. Just manual changes in the formatting will be removed.
hmmm
its a pity...
------------------
Danke pico für die Aufklärung.
P.S.: Fliflop-Man, dieser Button entfernt die style formatierungen leider auch nicht richtig. Man muss immernoch oft in den Source Code eingreifen.
Ich denke die Beste Lösung ist, html Templates im FCKeditor zu nutzen und somit Style Veränderungen selten notwendig zu machen.
Much appreciated, although not very optimistic
![Smile :)](./images/smilies/icon_smile.gif)
I will not touch the JS Source but try the html Template thingy as a solution.
Perhaps then style-changes will be less often necessary then.
BTW: That button fliflop talked about does not really work in most cases. In my experience id did not work with removing styles at all. Just manual changes in the formatting will be removed.
hmmm
its a pity...
------------------
Danke pico für die Aufklärung.
P.S.: Fliflop-Man, dieser Button entfernt die style formatierungen leider auch nicht richtig. Man muss immernoch oft in den Source Code eingreifen.
Ich denke die Beste Lösung ist, html Templates im FCKeditor zu nutzen und somit Style Veränderungen selten notwendig zu machen.
2008
Ugly major bug (usually no problem...)
Ugly major bug (calm down, usually never appears...)
I am still shocked.....
I had just set up a new cms system and spent hours configuring the FCKeditor....
After that i wanted to transfer all contents via copy&paste from the admin section of the old site to the new one.
First I logged in into the new cool version, then logged into the admin section of the old version.
Copied the first text (inkl. formatting) from an old article of the old system, then when i wanted to paste it into the new system:
all the setting were from the old systems FCKeditor version.
All my things were gone, after i checked all settings it came into my mind thta there might be the reason in the fact that the editor does not differentiate between the different setting files from the two running sessions.....
....
Puh i got it.
Ok i know its probably not really a bug, but a normal behavior - BUT I WAS SHOCKED!![Wink ;)](./images/smilies/icon_wink.gif)
Ok, just for your consideration if enyone else experiences such thing, calm down.....
--------------------------
Als ich in zwei adminbereichen gleichzeitig war hat der editor auf einmal nicht meine settings mehr gehabt...
es lag daran dass er die settings von der falschen, zuletzt gestarteten adminsession übernommen hatte..
Puh ich habs überlebt und zum glück schnell gefunden woran es lag.
CYO
I am still shocked.....
I had just set up a new cms system and spent hours configuring the FCKeditor....
After that i wanted to transfer all contents via copy&paste from the admin section of the old site to the new one.
First I logged in into the new cool version, then logged into the admin section of the old version.
Copied the first text (inkl. formatting) from an old article of the old system, then when i wanted to paste it into the new system:
![Shocked :shock:](./images/smilies/icon_eek.gif)
![Shocked :shock:](./images/smilies/icon_eek.gif)
![Shocked :shock:](./images/smilies/icon_eek.gif)
![Shocked :shock:](./images/smilies/icon_eek.gif)
all the setting were from the old systems FCKeditor version.
All my things were gone, after i checked all settings it came into my mind thta there might be the reason in the fact that the editor does not differentiate between the different setting files from the two running sessions.....
....
Puh i got it.
Ok i know its probably not really a bug, but a normal behavior - BUT I WAS SHOCKED!
![Wink ;)](./images/smilies/icon_wink.gif)
Ok, just for your consideration if enyone else experiences such thing, calm down.....
--------------------------
Als ich in zwei adminbereichen gleichzeitig war hat der editor auf einmal nicht meine settings mehr gehabt...
es lag daran dass er die settings von der falschen, zuletzt gestarteten adminsession übernommen hatte..
Puh ich habs überlebt und zum glück schnell gefunden woran es lag.
CYO
2008
Empty Field / Leeres Feld - kein Edior
So, nun habe ich Pico's Edition auch mal installiert und die diversen Schritte der readme durchgeführt.
Wenn ich mich nun in meine frische neue 1.2.6 einlogge und über die Artikelzentrale einen Text/ mit Bild erstellen will, wird gar keine Editorleiste angezeigt, einfach nur ein leeres Feld, in dem man auch nichts schreiben kann. An welcher Stelle habe ich da einen Fehler begangen?
---------------
I just installed Pico's Edition.
If I go in the backend of my fresh ly installed empty 1.2.6 and try to create a new text with image in the article center - there is no editor shown, just an empty field. I can't write anything in there. Can somebody tell me the mistake a made?
Thanx
Wenn ich mich nun in meine frische neue 1.2.6 einlogge und über die Artikelzentrale einen Text/ mit Bild erstellen will, wird gar keine Editorleiste angezeigt, einfach nur ein leeres Feld, in dem man auch nichts schreiben kann. An welcher Stelle habe ich da einen Fehler begangen?
---------------
I just installed Pico's Edition.
If I go in the backend of my fresh ly installed empty 1.2.6 and try to create a new text with image in the article center - there is no editor shown, just an empty field. I can't write anything in there. Can somebody tell me the mistake a made?
Thanx
Hi
maybe this ? http://www.phpwcms.de/forum/viewtopic.php?p=52030#52030
maybe this ? http://www.phpwcms.de/forum/viewtopic.php?p=52030#52030
Try some logical steps:
1. backup (save) the files you modded ~somewhere~ (to be re-tried later).
2. restore the originals from archive.
3. Re-login (must *always*) after changes.
4. See if default install of the editor works.
5. If NO, it may be "relative" path-related, so slightly unusual "config.inc.php" paths for Site, Document_Root, or phpWCMS Root can interfere (post "paths" if possible conflict). Also browser or firewall issues with blocking, etc. may be at work, here.
If there are Red "X" 's for icon placeholders, etc... check their properties for "path" issue. Maybe turning on all errors & notices in "php.ini" will reveal more.
6. If YES (works with "default" install), re-examine the "modded" files to confirm all changes are included and correct.
7. Let us know how you get on!
1. backup (save) the files you modded ~somewhere~ (to be re-tried later).
2. restore the originals from archive.
3. Re-login (must *always*) after changes.
4. See if default install of the editor works.
5. If NO, it may be "relative" path-related, so slightly unusual "config.inc.php" paths for Site, Document_Root, or phpWCMS Root can interfere (post "paths" if possible conflict). Also browser or firewall issues with blocking, etc. may be at work, here.
If there are Red "X" 's for icon placeholders, etc... check their properties for "path" issue. Maybe turning on all errors & notices in "php.ini" will reveal more.
6. If YES (works with "default" install), re-examine the "modded" files to confirm all changes are included and correct.
7. Let us know how you get on!
add line in htaccess.txt
Hi Pico
add line in htaccess.txt.
I had the necessity to add this line
to the file: .htaccess .
For FCKeditor to function.
That is normal?
add line in htaccess.txt.
I had the necessity to add this line
Code: Select all
RewriteEngine Off
For FCKeditor to function.
That is normal?
Last edited by fbatista on Wed 21. Dec 2005, 19:44, edited 1 time in total.
Fernando Batista
_______________________________________
Department of Mechanical Engineering (DEM)
School of Technology and Management (ESTG)
Polytechnic Institute of Leiria (IPL)
HOME: http://fernandobatista.net
_______________________________________
Department of Mechanical Engineering (DEM)
School of Technology and Management (ESTG)
Polytechnic Institute of Leiria (IPL)
HOME: http://fernandobatista.net
add line in htaccess.txt
Hi Pico
add line in htaccess.txt
I had the necessity to add this line
to the file: .htaccess .
For FCKeditor to function.
That is normal?
add line in htaccess.txt
I had the necessity to add this line
Code: Select all
RewriteEngine Off
For FCKeditor to function.
That is normal?
Fernando Batista
_______________________________________
Department of Mechanical Engineering (DEM)
School of Technology and Management (ESTG)
Polytechnic Institute of Leiria (IPL)
HOME: http://fernandobatista.net
_______________________________________
Department of Mechanical Engineering (DEM)
School of Technology and Management (ESTG)
Polytechnic Institute of Leiria (IPL)
HOME: http://fernandobatista.net
My Site running with rewrite-URL ON .pico wrote:Hi fbatista
I have all my Sites running with rewrite-URL ON without any Problems!
As far as I know there is no Part in FCK where a 'rewriting' of URL is used.
What happens when rewrite is On on your Site?
Example: http://ww2.estg.ipleiria.pt/~fbatista/p ... 0.1.0.html.
Code: Select all
$phpwcms["rewrite_url"] = 1;
$phpwcms["wysiwyg_editor"] = 2 ;
Code: Select all
php_flag magic_quotes_gpc Off
php_flag register_globals Off
RewriteEngine On
RewriteBase /~fbatista/phpwcms
RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.html$ /~fbatista/phpwcms/index.php?id=$1,$2,$3,$4,$5,$6
RewriteRule ^(.+)\.html$ /~fbatista/phpwcms/index.php?$1
Code: Select all
# Just rename this file to ".htaccess" and live it in the editor directory.
# There are no security issues on doing it. It just set the ".js" and ".css"
# files to their correct type.
#
AddType application/x-javascript .js
AddType text/css .css
![Image](http://ww2.estg.ipleiria.pt/~fbatista/phpwcms/FCK1.jpg)
With
Code: Select all
# Just rename this file to ".htaccess" and live it in the editor directory.
# There are no security issues on doing it. It just set the ".js" and ".css"
# files to their correct type.
#
RewriteEngine Off
AddType application/x-javascript .js
AddType text/css .css
![Image](http://ww2.estg.ipleiria.pt/~fbatista/phpwcms/FCK2.jpg)
Which is the problem?
Fernando Batista
_______________________________________
Department of Mechanical Engineering (DEM)
School of Technology and Management (ESTG)
Polytechnic Institute of Leiria (IPL)
HOME: http://fernandobatista.net
_______________________________________
Department of Mechanical Engineering (DEM)
School of Technology and Management (ESTG)
Polytechnic Institute of Leiria (IPL)
HOME: http://fernandobatista.net
If your "config.inc.php" is like this:fbatista wrote:My Site running with rewrite-URL ON .
Example: http://ww2.estg.ipleiria.pt/~fbatista/p ... 0.1.0.html.with file .htaccess in DIR phpWCMSCode: Select all
$phpwcms["rewrite_url"] = 1; $phpwcms["wysiwyg_editor"] = 2 ;
Code: Select all
php_flag magic_quotes_gpc Off php_flag register_globals Off RewriteEngine On RewriteBase /~fbatista/phpwcms RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.html$ /~fbatista/phpwcms/index.php?id=$1,$2,$3,$4,$5,$6 RewriteRule ^(.+)\.html$ /~fbatista/phpwcms/index.php?$1
Code: Select all
// site values
$phpwcms["site"] = "http://ww2.estg.ipleiria.pt/~fbatista/";
// paths
$phpwcms["root"] = "phpwcms";
Without:
/~fbatista
Code: Select all
RewriteBase /phpwcms
RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.html$ /phpwcms/index.php?id=$1,$2,$3,$4,$5,$6
RewriteRule ^(.+)\.html$ /phpwcms/index.php?$1