Re: converting EST to CST

2012-10-10 Thread Paul Hastings
On 10/11/2012 4:41 AM, fun and learning wrote: > >> Have you looked at the date functions? Like, say, dateAdd()? >> >> On Wed, Oct 10, 2012 at 4:34 PM, fun and learning >> wrote: >> >>> > Yes, I did see that after posting the message. I think this would do it > DateAdd("h", -1, #Now()#) ...and

Re: converting EST to CST

2012-10-10 Thread fun and learning
>Have you looked at the date functions? Like, say, dateAdd()? > >On Wed, Oct 10, 2012 at 4:34 PM, fun and learning >wrote: > >> Yes, I did see that after posting the message. I think this would do it DateAdd("h", -1, #Now()#) Thanks

Re: converting EST to CST

2012-10-10 Thread Matt Quackenbush
Have you looked at the date functions? Like, say, dateAdd()? On Wed, Oct 10, 2012 at 4:34 PM, fun and learning wrote: > > Hi ALl - > > Here is the scenario I am working on. > > We have certain data that should not be displayed until a certain date and > time. For example, in database we save th

converting EST to CST

2012-10-10 Thread fun and learning
Hi ALl - Here is the scenario I am working on. We have certain data that should not be displayed until a certain date and time. For example, in database we save this date and time and on web page we check if the data has passed that date and time. All the data is assumed to be saved in CST si

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