Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 08:43 am EST
Geeklog Forums
story editor and allowable html tags
bobotron
Anonymous
Hope someone can help.
I've operated a geeklog site on my own server for a couple of years with little hassle and much satisfaction.
However, I've had to move to off-campus hosting, and I'm having some trouble with a new installation.
Whenever I go to the contribute/story editor page, the allowable html tags do not display, only the commas between them. I checked the source, and the tags aren't being prepared for display, they're just in there as actual tags.
You can see what I mean here. Just click contribute and check it out.
Thanks for any and all suggestions!
I've operated a geeklog site on my own server for a couple of years with little hassle and much satisfaction.
However, I've had to move to off-campus hosting, and I'm having some trouble with a new installation.
Whenever I go to the contribute/story editor page, the allowable html tags do not display, only the commas between them. I checked the source, and the tags aren't being prepared for display, they're just in there as actual tags.
You can see what I mean here. Just click contribute and check it out.
Thanks for any and all suggestions!
9
13
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
In config.php, only list the names of the tags - without the pointy brackets. I.e.
'p' => array(),
'b' => array(),
'i' => array(),
'a' => array('href' => 1, 'title' => 1),
(etc.)
bye, Dirk
Text Formatted Code
$_CONF['user_html'] = array ( 'p' => array(),
'b' => array(),
'i' => array(),
'a' => array('href' => 1, 'title' => 1),
(etc.)
bye, Dirk
8
13
Quote
Status: offline
bobotron
Forum User
Newbie
Registered: 05/02/02
Posts: 8
Thanks for the suggestion, but that's not it. (Crossed my mind as well.)
This is right out of the box. I haven't touched the allowed tags portion of config.php, and I double-checked to make sure they didn't come that way.
This is right out of the box. I haven't touched the allowed tags portion of config.php, and I double-checked to make sure they didn't come that way.
10
9
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
In lib-common.php, function COM_allowedHTML, does it say
{
$retval .= '<' . $tag . '>, ';
}
i.e. adding the entities for the opening and closing brackets or does it add them directly?
Maybe your editor tried to be extra clever when you edited lib-common.php?
bye, Dirk
Text Formatted Code
foreach( $html as $tag => $attr ){
$retval .= '<' . $tag . '>, ';
}
i.e. adding the entities for the opening and closing brackets or does it add them directly?
Maybe your editor tried to be extra clever when you edited lib-common.php?
bye, Dirk
12
12
Quote
Status: offline
beewee
Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
Guess it has something to do with the characterset which is configured in config.php. I saw at netcraft.com that you use a Free BSD server, where you could expect some small troubles. Here's a copy of my locale settings (for the Netherlands, watch it!), I'm running FreeBSD as well:
$_CONF['language'] = 'dutch';
$_CONF['locale'] = 'nl_NL.ISO8859-1';
$_CONF['date'] = '%A %d %B %Y @ %H:%M %Z';
$_CONF['daytime'] = '%d/%m %H:%M';
$_CONF['timeonly'] = '%H : %M : %S';
$_CONF['shortdate'] = '%x';
$_CONF['dateonly'] = '%d-%b';
$_CONF['default_charset'] = 'nl_NL.ISO8859-1';
$_CONF['timezone'] = 'Europe/Amsterdam';
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
Text Formatted Code
$_CONF['language'] = 'dutch';
$_CONF['locale'] = 'nl_NL.ISO8859-1';
$_CONF['date'] = '%A %d %B %Y @ %H:%M %Z';
$_CONF['daytime'] = '%d/%m %H:%M';
$_CONF['timeonly'] = '%H : %M : %S';
$_CONF['shortdate'] = '%x';
$_CONF['dateonly'] = '%d-%b';
$_CONF['default_charset'] = 'nl_NL.ISO8859-1';
$_CONF['timezone'] = 'Europe/Amsterdam';
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
8
8
Quote
All times are EST. The time is now 08:43 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