flerd (User)
Fresh Boarder
Posts: 5
|
|
Re:Editor Frontend Problem 6 Months, 1 Week ago
|
Karma: 0
|
Hi there,
i think i've found the solution.
the idea is from here: http://www.misterestate.com/component/option,com_joomlaboard/Itemid,7/func,view/id,4966/catid,9/
user.estateagent.php
comment out these lines:
| Code: |
$obj->description = str_replace( '<br>', '<br />', $obj->description );
$obj->description = strip_tags($obj->description,"<br />,<b>,</b>,<i>,</i>,<p>,</p>"«»);
$obj->location = str_replace( '<br>', '<br />', $obj->location );
$obj->location = strip_tags($obj->location,"<a>,</a>,<br />,<b>,</b>,<i>,</i>,<p>,</p>"«»);
$obj->condition = str_replace( '<br>', '<br />', $obj->condition );
$obj->condition = strip_tags($obj->condition,"<br />,<b>,</b>,<i>,</i>,<p>,</p>"«»);
$obj->other = str_replace( '<br>', '<br />', $obj->other );
$obj->other = strip_tags($obj->other,"<br />,<b>,</b>,<i>,</i>,<p>,</p>"«»);
|
these lines contain the tags which can be used by user from the frontend. But if you comment them out with /* */ or delete them than the user can use any HTML tag he wants.
i hope it was helfull for you too 
peter
|
|