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:352875
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to