James
|
Thursday 21 October 2010 4:45:21 am
How can I in user ezoe comments, disallow any tags other than the simplest ones needed, (p, b, i, u, a, br, basically). Suggestions welcome. I need this for only one user siteaccess. I would still like to be able to use the full tags in the admin siteacess. Cheers
|
André R.
|
Thursday 21 October 2010 4:54:58 am
You can have different ezoe.ini settings pr siteaccess to hide buttons in frontend, but be aware of the fact that: 1. there is not filtering so if user disabled editor he can type in any kind of tag as you would be able to in admin 2. if you edit content created in admin with tags not 'available' in frontend, you'll still be able to edit thos by selecting them and clicking on tag name in path
eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom
|
James
|
Thursday 21 October 2010 5:17:58 am
Hello Andre, thank you for your prompt reply. What about ezxml.ini? I found this and read these classes extension/ezoe/ezxmltext/handlers/input/ezoexmlinput.php and kernel/classes/datatypes/ezxmltext/handlers/input/ezsimplifiedxmlinputparser.php
<?php /* #?ini charset="utf-8"?
# eZ Publish configuration file for ezxml
[InputSettings]
AliasClasses[eZSimplifiedXMLInput]=eZOEXMLInput
*/ ?> Could it be possible to some how override the class with a different class that had more strict input tags set? Respectfully
|