Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 08:01 am EST
Geeklog Forums
center text?
Status: offline
squirrellydw
Forum User
Junior
Registered: 02/08/06
Posts: 33
Location:PA
When I try to center text on a story it does not work, am i doing something wrong? I am using GL1.4. I shows up fine when I select center but when I save it its still on the left.
I am using FCKeditor
Also I noticed the the editor does not work in Safari, Apples web browser.
I am using FCKeditor
Also I noticed the the editor does not work in Safari, Apples web browser.
13
11
Quote
Status: offline
squirrellydw
Forum User
Junior
Registered: 02/08/06
Posts: 33
Location:PA
well thats good to know.
What about my text centering issue, why can'y I get my tect to be centered? I have also tried my PC and it doesn't work.
What about my text centering issue, why can'y I get my tect to be centered? I have also tried my PC and it doesn't work.
12
13
Quote
Status: offline
rasher
Forum User
Newbie
Registered: 03/21/04
Posts: 12
Sounds like the FCKeditor is using the tags so you probably need to add that HTML tag in your config to allow its use. Look for the variable labeled user_html here in the docs.
This is the way you control exactly which HTML tags are allowed to be used in stories and comments.
I can't remember if there is a separate admin setting for these allowed tags also. Someone will chime in here if there is.
This is the way you control exactly which HTML tags are allowed to be used in stories and comments.
I can't remember if there is a separate admin setting for these allowed tags also. Someone will chime in here if there is.
12
12
Quote
Status: offline
lokki
Forum User
Chatty
Registered: 03/19/05
Posts: 59
There are separate settings for allowed html - $_CONF['user_html'] and $_CONF['admin_html']. In config.php there's also a piece of code that adds to the allowed list when Fckeditor is enabled.
Personally I had to add to a list of properties enabled for "span" tag a "style" attribute. This made the formatting work. You try too. Maybe this editor uses some inline styles. I thought I heared that it was fixed
Personally I had to add to a list of properties enabled for "span" tag a "style" attribute. This made the formatting work. You try too. Maybe this editor uses some inline styles. I thought I heared that it was fixed
11
12
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by lokki: Personally I had to add to a list of properties enabled for "span" tag a "style" attribute. This made the formatting work.
The fckconfig.js as shipped with the final 1.4.0 is different from the ones shipped with the beta and the RCs in that it tells Firefox not to use those attributes any more. Apparently Firefox caches those settings somehow, though. So if you ran any of the pre-final versions, try clearing your cache.
bye, Dirk
10
12
Quote
Status: offline
squirrellydw
Forum User
Junior
Registered: 02/08/06
Posts: 33
Location:PA
Quote by lokki: There are separate settings for allowed html - $_CONF['user_html'] and $_CONF['admin_html']. In config.php there's also a piece of code that adds to the allowed list when Fckeditor is enabled.
Personally I had to add to a list of properties enabled for "span" tag a "style" attribute. This made the formatting work. You try too. Maybe this editor uses some inline styles. I thought I heared that it was fixed
Personally I had to add to a list of properties enabled for "span" tag a "style" attribute. This made the formatting work. You try too. Maybe this editor uses some inline styles. I thought I heared that it was fixed
Whay do I need to add? It looked very confussing to me when I looked at it.
12
8
Quote
Status: offline
squirrellydw
Forum User
Junior
Registered: 02/08/06
Posts: 33
Location:PA
can someone help me with this?? Could you show me what I have to add and tell me where please?
Thanks
Thanks
13
11
Quote
Status: offline
Robin
Forum User
Full Member
Registered: 02/15/02
Posts: 725
Quote by squirrellydw: can someone help me with this?? Could you show me what I have to add and tell me where please?
Thanks
Thanks
The easiest solution to your current problem and future problems would be setting
$_CONF['skip_html_filter_for_root'] = 0;
to 1. It's in config.php. However before you do this read this
Text Formatted Code
// When set to 1, disables the HTML filter for all users in the 'Root' group.// Obviously, you should only enable this if you know what you're doing and
// when you can trust all the users in the 'Root' group not to use this for
// Cross Site Scripting, defacements, etc. USE AT YOUR OWN RISK!
$_CONF['skip_html_filter_for_root'] = 0;
Geeklog Polish Support Team
12
11
Quote
Status: offline
squirrellydw
Forum User
Junior
Registered: 02/08/06
Posts: 33
Location:PA
So as long the users arn't in the root group it should be safer correct? I think I will be ok since the site is just for friends and family.
Thanks
Thanks
12
11
Quote
All times are EST. The time is now 08:01 am.
- 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