Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 12:55 pm EST
Geeklog Forums
FCKeditor and staticpages with PHP
Status: offline
LWC
Forum User
Full Member
Registered: 02/19/04
Posts: 818
Usually there's no problem. But if I turn on PHP, it means I want plaintext mode...in other words, it's impossible to work on PHP with an HTML editor - not to mention that it killed all of my line breaks...
So basically, choosing PHP should be like choosing plaintext for stories.
So basically, choosing PHP should be like choosing plaintext for stories.
7
8
Quote
phpsocialclub
Anonymous
Have you checked out this line
in fckconfig.js
// FCKConfig.ProtectedSource.Add( //g ) ; // PHP style server side
code
I have not messed with it, but it looks promising, tell me if it works
in fckconfig.js
// FCKConfig.ProtectedSource.Add( //g ) ; // PHP style server side
code
I have not messed with it, but it looks promising, tell me if it works
7
9
Quote
Status: offline
LWC
Forum User
Full Member
Registered: 02/19/04
Posts: 818
Doesn't help, but why should it? The PHP in staticpages is something internal (even when I use internal opening/closing tags).
My only solution is to comment out "var oFCKeditor1" and its parameters.
But then I lose FCKeditor for normal staticpages too.
All I'm saying is that someone should add a command that when someone chooses PHP, the editor should close - yes, just like choosing plaintext in stories!
My only solution is to comment out "var oFCKeditor1" and its parameters.
But then I lose FCKeditor for normal staticpages too.
All I'm saying is that someone should add a command that when someone chooses PHP, the editor should close - yes, just like choosing plaintext in stories!
6
9
Quote
Status: offline
Robin
Forum User
Full Member
Registered: 02/15/02
Posts: 725
Quote by LWC: Doesn't help, but why should it?
It is responisble for enabling/disabling this. There is something wrong with it anyway, 'cause I tried to use script tag and no luck whatsoever.
Quote by LWC:My only solution is to comment out "var oFCKeditor1" and its parameters.
But then I lose FCKeditor for normal staticpages too.
All I'm saying is that someone should add a command that when someone chooses PHP, the editor should close - yes, just like choosing plaintext in stories!
But then I lose FCKeditor for normal staticpages too.
All I'm saying is that someone should add a command that when someone chooses PHP, the editor should close - yes, just like choosing plaintext in stories!
The problem is that the first thing doesn't work. I mean // FCKConfig.ProtectedSource.Add( //g ) ; // PHP style server side
code.
Why should you get rid of FCK as PHP editor? It gives you nice coloring of lines, etc.
The problem is that this doesn't want to play nicely with Geeklog or we're missing something
Geeklog Polish Support Team
7
6
Quote
Status: offline
beewee
Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
Looks like we need 2 static page editor templates, default is with FCK editor, and if you enable PHP it switches to the old plain text editor.
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
7
8
Quote
All times are EST. The time is now 12:55 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content