Re: Showing diffent toolbars in ckeditor based on roles

2012-10-10 Thread Torrent Girl
I found the solution!!! YAY!! http://nils.realeyesmedia.com/?p=126 You have to put the script to replace the toolbar after the text area (???) Here is my final: #englishText# // // <

Re: Showing diffent toolbars in ckeditor based on roles

2012-10-10 Thread Torrent Girl
> >no because it is a JS file so will never be processed by coldfusion. > >however if you make it a CFM file instead then it will be, but you > will > >need to make sure there are no HASHES in the file or they will throw > >errors. You will also need to change anything that includes that to > us

Re: Showing diffent toolbars in ckeditor based on roles

2012-10-10 Thread Torrent Girl
>no because it is a JS file so will never be processed by coldfusion. >however if you make it a CFM file instead then it will be, but you will >need to make sure there are no HASHES in the file or they will throw >errors. You will also need to change anything that includes that to use the >new fil

Re: Showing diffent toolbars in ckeditor based on roles

2012-10-10 Thread Russ Michaels
no because it is a JS file so will never be processed by coldfusion. however if you make it a CFM file instead then it will be, but you will need to make sure there are no HASHES in the file or they will throw errors. You will also need to change anything that includes that to use the new filename

Re: Showing diffent toolbars in ckeditor based on roles

2012-10-10 Thread Torrent Girl
>I can;t see any reason why that wouldn't work. >do both those toolbars display normally without your if/else ? > This may be a stupid question but can I add coldfusion code within the config.js file like so? config.toolbar = "Full"; config.toolbar = "Basic"; ~

Re: Showing diffent toolbars in ckeditor based on roles

2012-10-10 Thread Torrent Girl
>I can;t see any reason why that wouldn't work. >do both those toolbars display normally without your if/else ? It won't :( Here is what is in my config.js file config.toolbar_Full = [ { name: 'document', items : [ 'Source','-','Save','NewPage','DocProps','Preview','Print','-','

Re: Showing diffent toolbars in ckeditor based on roles

2012-10-10 Thread Russ Michaels
I can;t see any reason why that wouldn't work. do both those toolbars display normally without your if/else ? On Wed, Oct 10, 2012 at 3:02 PM, Torrent Girl wrote: > > Has anyone figured out how to show a different toolbar in ckeditor based > on a variable? > > I want to do this: > > > name="e

Showing diffent toolbars in ckeditor based on roles

2012-10-10 Thread Torrent Girl
Has anyone figured out how to show a different toolbar in ckeditor based on a variable? I want to do this: #englishText# #englishText# ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anth