Page 6 of 7

thx

Posted: Fri 9. Dec 2005, 17:37
by phalancs
danke, nach so einem button habe ich gesucht..

werde ich gleich mal ausprobieren, wenn ich ihn denn finde.
MIt den HTML Vorlagen hast Du natürlich recht, dass wäre dann quasi noch einfacher.

Thx so far.

Posted: Fri 9. Dec 2005, 19:41
by pico
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.

Posted: Sat 10. Dec 2005, 00:22
by phalancs
Ok, thanx pico for that information.
Much appreciated, although not very optimistic :)

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.

Ugly major bug (usually no problem...)

Posted: Mon 12. Dec 2005, 23:29
by phalancs
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:
:shock: :shock: :shock: :shock:

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! ;)

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

Empty Field / Leeres Feld - kein Edior

Posted: Fri 16. Dec 2005, 15:20
by larmann
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

Posted: Sat 17. Dec 2005, 18:18
by pico

Posted: Sat 17. Dec 2005, 19:55
by larmann
Hi pico,

no, this I did. I was sending a login to you by pm. I don't want to bother you, but if you feel like having a closer look you can do it. Otherwise I will get it working by myself, at a certain point of time.

thanx

Posted: Sat 17. Dec 2005, 23:22
by DeXXus
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!

Posted: Sun 18. Dec 2005, 14:32
by larmann
Thank you Dexxus - and THANK YOU PICO!

@Dexxus: This is a good guideline illiminate mistakes anyway. Pico had a look on the installation and found a missing bracket. That's all.

Great support in this forum.

Thanx!

add line in htaccess.txt

Posted: Wed 21. Dec 2005, 19:43
by fbatista
Hi Pico

add line in htaccess.txt.

I had the necessity to add this line

Code: Select all

RewriteEngine Off
to the file: .htaccess .
For FCKeditor to function.

That is normal?

add line in htaccess.txt

Posted: Wed 21. Dec 2005, 19:43
by fbatista
Hi Pico

add line in htaccess.txt

I had the necessity to add this line

Code: Select all

RewriteEngine Off
to the file: .htaccess .
For FCKeditor to function.

That is normal?

Posted: Thu 22. Dec 2005, 08:44
by pico
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?

Posted: Thu 22. Dec 2005, 14:42
by fbatista
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?
My Site running with rewrite-URL ON .
Example: http://ww2.estg.ipleiria.pt/~fbatista/p ... 0.1.0.html.

Code: Select all

$phpwcms["rewrite_url"]       = 1; 
$phpwcms["wysiwyg_editor"]    = 2 ; 
with file .htaccess in DIR phpWCMS

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 
but with file .htaccess in DIR FCKeditor

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
I have this
Image


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
I have this
Image

Which is the problem?

Posted: Thu 22. Dec 2005, 15:46
by pico
?
have never used the .htaccess in the FCK-Folder :roll:

Posted: Thu 22. Dec 2005, 18:30
by DeXXus
fbatista wrote:My Site running with rewrite-URL ON .
Example: http://ww2.estg.ipleiria.pt/~fbatista/p ... 0.1.0.html.

Code: Select all

$phpwcms["rewrite_url"]       = 1; 
$phpwcms["wysiwyg_editor"]    = 2 ; 
with file .htaccess in DIR phpWCMS

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 
If your "config.inc.php" is like this:

Code: Select all

// site values
$phpwcms["site"]            = "http://ww2.estg.ipleiria.pt/~fbatista/";
// paths
$phpwcms["root"]              = "phpwcms";
Shouldn't your entries be like this?

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