NukeResources :: View topic - Journal KSE filter
Journal KSE filter
Posted: Thu Aug 03, 2006 12:02 pm
Ernestto
Resource Seeker
Joined: Aug 02, 2006
Posts: 5
Hi,
i have phpnuke 7.9 and Journal Module 2.0 with kse html filter.
how can I admin kse filter?
thnks
_________________ Ernesto
Posted: Thu Aug 03, 2006 5:28 pm
Evaders99
Resource Master
Joined: May 25, 2004
Posts: 1785
I don't know if there's anything to really admin that. But you can try editing the modules/Journal/kses.php file
Journal KSE filter
Posted: Fri Aug 04, 2006 4:53 am
Ernestto
Resource Seeker
Joined: Aug 02, 2006
Posts: 5
Hi..
I edited kses.php and it include functions.php and it allow html.
// KSES allowed tags array
// This is a loose filtering array
$allowed = array('pre' => array('align' => 1),
'strong' => array(),
'hr' => array(),
'div' => array('align' => 1),
'img' => array('alt' => 1, 'src' => 1, 'hspace' => 1, 'vspace' => 1, 'border' => 1),
'table' => array('align' => 1, 'border' => 1, 'cell' => 1),
'tr' => array('align' => 1),
'td' => array(),
'ul' => array(),
'li' => array(),
'ol' => array(),
'a' => array('href' => 1, 'target' => 1,
'title' => array('minlen' => 4, 'maxlen' => 120)),
'font' => array('face' => 1, 'style' => 1, 'color' => 1,
'size' => array('minval' => 1, 'maxval' => 7)),
'p' => array('align' => 1),
'b' => array(),
'i' => array(),
'u' => array(),
'em' => array(),
'br' => array());
// End KSES Options
but when use it removes all HTML. Can tiny_mce problem o htmlArea?
Best Regards,
_________________ Ernesto
Posted: Mon Aug 07, 2006 7:04 am
Evaders99
Resource Master
Joined: May 25, 2004
Posts: 1785
Yes TinyMCE does its own filtering, there's no real way to bypass it. Just disable the editor
Journal KSE filter
Posted: Tue Aug 08, 2006 4:06 am
Ernestto
Resource Seeker
Joined: Aug 02, 2006
Posts: 5
Ok,
I´ll try to disable editor and install HTMLArea-3.0-rc1.
What do you think?
_________________ Ernesto
Posted: Fri Aug 11, 2006 7:15 am
Evaders99
Resource Master
Joined: May 25, 2004
Posts: 1785
Sorry I don't use those WYSIWYG editors generally. But FCKEditor has been recommended to me
Journal KSE filter
Posted: Fri Aug 11, 2006 7:54 am
Ernestto
Resource Seeker
Joined: Aug 02, 2006
Posts: 5
Thank´s a lot
Evaders99 I`ll continue looking for a solution
_________________ Ernesto
NukeResources Forum Index -> Random Thoughts
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
All times are GMT - 4 Hours
Page 1 of 1