On Aug 4, 10:23 am, "Blair McKenzie" <[EMAIL PROTECTED]> wrote: > I haven't heard of anyone doing this. It would be simple enough to extend > the richtext formtool so that the tinymce config is different depending on a > user's permissions.
In very rough notes you might try: - copy ./core/packages/formtools/richtext.cfc into ./projects/ myproject/packages/formtools - change the extends to point to the core richtext.cfc - add your additional configurations as new methods; copy the current getconfig() - add a switch statement to the edit method; switch on permission/ sesssion/whatever - inside the switch invoke the editor with a different config method - delete those methods that you haven't changed (they will be inherited) Notes on the behaviour of the standard richtext formtool are here: http://docs.farcrycms.org:8080/confluence/display/FCDEV40/richtext -- geoff http://www.daemon.com.au/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "farcry-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/farcry-dev?hl=en -~----------~----~----~----~------~----~------~--~---
