FCKEditor Controls Missing in ColdFusion
I have used FCKEditor for WYSIWYG for many of the custom ColdFusion applications I have built. Recently the FCKEditor stopped rendering and the code was just rendering a normal textarea.
I have used FCKEditor for WYSIWYG for many of the custom ColdFusion applications I have built. Recently the FCKEditor stopped rendering and the code was just rendering a normal textarea.
This not something I have to do very often so I tend to forget how to do it although it is very easy. I have a folder that is holding temp files that get written by a data export. I need to go through and clean out these files on a daily basis.
I needed code to read a directory, loop through all files and delete them.
This is a simple task with CFDirectory and CFFile.
In the past when I needed to create a data export and dump it to a csv/xls file, I would create a file then loop through the query and append each line of data. This was not a hard task and did not take too many lines of code.
However, with ColdFusion 9 this task can be done with one line of code using the cfspreadsheet tag.
We just launched a new site for 3D Security in Henderson, Texas. They are East Texas leader in high end security systems: http://www.3dmaxsecurity.com.
We built this new site with SEO as a top priority. They are looking to drive more traffic to their website for potential customers in East Texas.
Today I needed to select a tab that was created using the built-in ColdFusion tabs with cflayout. I had never had this request before but found a quick and easy solution. The ColdFusion.Layout.selectTab function made short work of it.
When the link is clicked, it selects the tab and displays it's contents.
It is a very simple but useful function.