Posted on: 01/12/09 04:56am
By: blueberry
i have a problem my web site. i cannot use <a> tag in the story or static pages, for example
<a href="mailto:abc@gmail.com">abc@gmail.com</a>
did you know where can i find that problem? pls teach me how to do. :pray:
Re: mailto: problem
Posted on: 01/12/09 05:08am
By: Dirk
"mailto:" is filtered out by default. You need to add it to the list of allowed protocols under
Configuration > Geeklog > Miscellaneous > HTML Filtering > Allowed Protocols
bye, Dirk
Re: mailto: problem
Posted on: 01/12/09 05:41pm
By: 1000ideen
Re: mailto: problem
Posted on: 01/13/09 06:27am
By: blueberry
dear drik,
can u tell me where is it? config.php? I want to get this one very urgent.
Re: mailto: problem
Posted on: 01/13/09 07:04am
By: 1000ideen
Are you using GL 1.5.1? Then it is on the left side.
Re: mailto: problem
Posted on: 01/14/09 01:13am
By: blueberry
no i was using geeklog 1.4.1
$_CONF['allowed_protocols'] = array ('http', 'https', 'ftp'
;
I've already had in config.php but it's useless things
Re: mailto: problem
Posted on: 01/14/09 04:56am
By: 1000ideen
True that`s useless.
Look for this line:
$_CONF['user_html'] = array (
after that there is a line similar to this:
'a' => array('href' => 1, 'title' => 1, 'rel' => 1),
change it to:
'a' => array('href' => 1, 'title' => 1, 'rel' => 1, 'mailto' => 1),
Re: mailto: problem
Posted on: 01/14/09 08:05am
By: Dirk
Quote by: 1000ideenchange it to:
'a' => array('href' => 1, 'title' => 1, 'rel' => 1, 'mailto' => 1),
That doesn't make sense. "mailto" is not an attribute but a protocol. As such, it should be added to $_CONF['allowed_protocols'].
bye, Dirk