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.
On Wed, Oct 10, 2012 at 3:47 PM, Torrent Girl <[email protected]> wrote: > > >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? > > <cfif session.user.roleID EQ 1> > config.toolbar = "Full"; > <cfelse> > config.toolbar = "Basic"; > </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:352879 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

