KTML for PHP Forum :: at the beginning

This thread was displayed: 0 times


Starting with 17th May 2007, Adobe Systems will stop offering support for any version of the discontinued InterAKT products. As a result, we will not answer to new support incidents starting with May 17th, 2007. Pending support incidents will still be followed in order to be closed. The product forums will remain open and be transformed in user-to-user forums. The general forums will be made read-only and not allow new posts or comments.

For more information about the affected products visit: www.interaktonline.com/Support/

View Threaded Show descending
NewMediaStudio Group
07-06-2007 17:38:03 GMT +2

Hi there, I just made an admin section with the use of the KTML extension for PHP, thing is when my client starts writting something there, automatically places a <p> tag at the beginning of that text, I can't tell her, go to the html tab and delete that because she doesn't know the technical stuff, so my question is, is there a way to override that tag fro the beginning of the text entry?


Thanks


Arturo

Back | Reply | Quote | Top
NewMediaStudio Group
07-09-2007 19:42:50 GMT +2

BUMP!

Reply | Quote | Top
Fred at ExelWebs.com
08-11-2007 23:18:04 GMT +2

Hi,

You can achieve this by changing line 60 in the ktml.config.php file

    'add_new_paragraph_on_enter' => 'false',


Reply | Quote | Top
NewMediaStudio Group
09-20-2007 18:15:47 GMT +2

Hi Fred, thanks for the message, well, did it, but isn't working, check this:


    'denied_tags_list' => 'script,iframe,frame',
    'add_new_paragraph_on_enter' => 'false',
    'special_chars' => '',


I don't know if I'm missing something

Thanks man


A.-

Reply | Quote | Top
Fred at ExelWebs.com
09-20-2007 18:22:50 GMT +2

I noticed that and realised afterwards it only applies when you actually hit the enter button.

What is going to happen if you add the <p> tag in the dissallowed tags array?

I am busy finilising a CMS system using KTML and that seems to be the only drawback in the whole system.

http://www.xms-systems.co.uk

Reply | Quote | Top
KTML for PHP 4.1.0
© Adobe Systems Romania. All rights reserved.