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 <[email protected]> wrote:

>
> Has anyone figured out how to show a different toolbar in ckeditor based
> on a variable?
>
> I want to do this:
>
> <cfif session.role = "Admin">
> <textarea class="ckeditor" toolbar="Full"
> name="englishText">#englishText#</textarea>
> <cfelse>
> <textarea class="ckeditor" toolbar="Basic"
> name="englishText">#englishText#</textarea>
> </cfif>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352876
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to