This is actually great functionality. 

David, perhaps you can create this in such a way that this can be a plugin
for Farcry.

Josen

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Mindmillmedia
Sent: Monday, August 06, 2007 9:59 AM
To: farcry-dev
Subject: [farcry-dev] Re: Per User TinyMCE Config


Thanks again Geoff.  I just got done doing our first training class for the
staff on Farcry.  It went great.  Now I am going to tackle this issue with
the per user TinyMCE config.

David

On Aug 3, 9:57 pm, modius <[EMAIL PROTECTED]> wrote:
> 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/richtex
> t
>
> -- geoffhttp://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
-~----------~----~----~----~------~----~------~--~---

Reply via email to