kentico_borisp
-
1/14/2011 3:18:57 AM
RE:Disable Wysywig optionally?
Hello,
I asked our developer if he could dig deeper into this. He checked the security concerns and it seems to be doable. But you need to alter the following files:
~\CMSModules\Forums\Controls\NewPost.ascx.cs ~\CMSModules\Forums\Controls\Posts\PostEdit.ascx.cs
You need to replace the checking of the editor type by a method of your own. For example you can add a field to the user table where you would set if the user uses the WYSIWYG or BB code editor. The method you need to replace is ForumHTMLEditor. The user could choose the editor e.g. in his account settings.
Best regards, Boris Pocatko
|