188 ColdFusion Tutorials Found For Difficulty Level: Beginner
Obtaining the ID of the record you just inserted
This tutorial will show you how secure ways to obtain the ID of the record you inserted, not just the last ID inserted. The tutorial covers this technique in MS Access, MSSQL and MySQL. Difficulty:Beginner |
Author:Abram Adams |
Views: 33,577 |
Posted Date: Monday, August 28, 2006
Creating Static HTML Pages from Dynamic Pages
Static HTML can help reduce the load on the server. This helps resources be used for other things that you may possibly need. Creating static HTML in ColdFusion is a simple task and can simply be done by following this tutorial. Difficulty:Beginner |
Author:Drew Tempelmeyer |
Views: 20,781 |
Posted Date: Thursday, March 31, 2005
Adding form results to a file (not database)
A very simple tutorial that explains how to add information submitted from a form into a logging file. Very simple, yet lots of possibilities. Important for the beginning CFM programmer Difficulty:Beginner |
Author:Mike Bamberger |
Views: 24,169 |
Posted Date: Thursday, July 3, 2003
Shout Box [LIVE]!
Ever want a place where people can chat or post their opinions? Ever heard of a shout box? This tutorial will give you an easy example of having a shout box on your site. Difficulty:Beginner |
Author:Drew Tempelmeyer |
Views: 29,815 |
Posted Date: Saturday, February 22, 2003
Basic Calculator
This is a tutorial to build a simple calculator for your web pages. You should get it pretty easily as you browse through the code. Difficulty:Beginner |
Author:Anang A Phatak |
Views: 20,271 |
Posted Date: Tuesday, October 14, 2003
ColdFusion MX 6.1 Installation on Linux (Ubuntu -- Hoary Hedgehog)
I have tried hoards of websites on how to install coldfusion on Fedora Core 3 with apache webserver. For some reason the connectors always failed.
I had "Ubuntu" on my laptop, basically because "acpi" suspend/hibernate actually works. I decided I might try to install CF there to find out what was going wrong.
Surprisingly everything worked like a charm.
Make sure you use "apt-get install apache2" before you try this.
BEST OF LUCK ....
Difficulty:Beginner |
Author:Anang A Phatak |
Views: 22,704 |
Posted Date: Tuesday, May 10, 2005
Dynamic textbox and progress bar for your pages
The principle of this tutorial is similar to "Dynamic time and date for your pages" tutorial.
Except that this one generates messages, and that one updated time.
Read on, you will get the hang of it.... Difficulty:Beginner |
Author:Anang A Phatak |
Views: 24,908 |
Posted Date: Thursday, May 19, 2005
Getting ColdFusion Studio for Linux
I like using HomeSite+ for windows, and I am getting used to Dreamweaver Mx. But I still need something just as good for Linux. For some reason, I couldnt get "wine and Dreamweaver Mx" to work. So I "Googled" a bit and stumbled upon Eclipse and cfEclipse. Here is how to set it up. Difficulty:Beginner |
Author:Anang A Phatak |
Views: 22,934 |
Posted Date: Wednesday, May 25, 2005
Dynamic time and date for your pages
Have you seen the "www.EasyCFM" page closely? On the main page, top right, there is a place for time, and top left a place for day-date.
Ever wonder how Pablo does it ?
This is not a ColdFusion tutorial. Its JavaScript.
Difficulty:Beginner |
Author:Anang A Phatak |
Views: 20,306 |
Posted Date: Wednesday, January 5, 2005
Advanced Calculator
I have posted a "Basic Calculator" tutorial here. That was more like a representation of how you would calculate with a paper and a pencil. You provide INPUT A then a MATHEMATICAL OPERATION like a "+" or a "-" and then an INPUT B. This is more a represntation of how you would use a regular hand-held calculator complete with buttons for NUMBERS, OPERATIONS and CLEAR TEXT. Difficulty:Beginner |
Author:Anang A Phatak |
Views: 17,911 |
Posted Date: Friday, June 18, 2004
Slighty better search
Someone on the forum posed a question a short while ago asking how to create a more advanced search function using a + symbol as a separator. So I created this advanced search function. This search function is just slightly better than a normal search as it adds the ability to separate two keywords with a + symbol. Lets start with the search form. Difficulty:Beginner |
Author:Mark Aplet |
Views: 31,171 |
Posted Date: Thursday, December 4, 2003
Dynamic Sorting with CFSWITCH
Quickly and easily sort and order records in your database using a cfswitch in your query. Great technique for admin areas of your site, or just allowing visitors to sort the fields they want. Difficulty:Beginner |
Author:Mark Aplet |
Views: 23,513 |
Posted Date: Sunday, August 3, 2003
Adding an indexed Search to your site (Part 1)
It is very easy to set up and create a professional search function much like a real search engine. Use Verity Collections and the tag to create fast search forms for your web sites. Difficulty:Beginner |
Author:Mark Aplet |
Views: 53,549 |
Posted Date: Saturday, February 1, 2003
Adding an indexed Search to your site (Part 2)
The long overdue part two of adding a verity search function. This part demonstrates how to index the information in your database so that it becomes usefull too. Difficulty:Beginner |
Author:Mark Aplet |
Views: 33,427 |
Posted Date: Monday, May 5, 2003
Changing site color scheme
Add some personalization to your pages by letting the user pick their own color scheme. It's really quite simple and the benifits are awsome. This tutorial shows you how to set up your pages to use a dynamicly included scheme. It will also show you how to create all the pages neccessary to administer the color schemes. Difficulty:Beginner |
Author:Mark Aplet |
Views: 26,949 |
Posted Date: Friday, November 29, 2002
Background Color Changer
Simple list of links to:
1. Change the background color of current page.
2. Demonstrate CFParam and URLEncodedFormat (both of them can be life savers!)
3. Provide hours of fun for the easily amused (I'm guilty as charged).
Difficulty:Beginner |
Author:Bryce |
Views: 13,860 |
Posted Date: Thursday, March 25, 2004
Random String/Password Generation
This is a custom tag I wrote that generates a random string at the set number of characters using the characters you decide on
Alpha
AlphaNumeric
or Numeric
Uppercase, lowercase, mixed case...
It will create a variable that you name as you wish and call however you'd like.
It is a small example of how to create a custom tag and will hopefully send someone in the right direction. It is also fully functional and has come in handy quite a few times. Enjoy and as always.. Have Fun! Difficulty:Beginner |
Author:Bobby Hartsfield |
Views: 25,809 |
Posted Date: Tuesday, August 12, 2003
A Basic Calendar Application to Build on
I have seen quite a few people looking for prebuilt calendar apps but the people I wrote this for are the people who wanted a headstart in building their OWN custom calendar app.
It is very basic and does nothing more than display the currently selected month/year's calendar and give links to the PREVIOUS the NEXT month's calendars by using The DateAdd() function. Basically the backbone of any calendar app.
Enjoy. and as Always.. HAVE FUN! Difficulty:Beginner |
Author:Bobby Hartsfield |
Views: 38,497 |
Posted Date: Friday, August 15, 2003
Quick and Dirty Contact Forms.
This is just a simple way to dynamicly generate contact forms without the need for a database. Difficulty:Beginner |
Author:Chris Bunting |
Views: 14,267 |
Posted Date: Saturday, April 1, 2006
CF 'Best Practices'
Some tips and techniques that I've picked up over the years. I don't maintain that these are 'official' or 'absolute'...they are simply my preference and things that have worked for me. I would like to share them here, and leave you to make the decision as to whether or not they fit in your 'code arsenal' :) Difficulty:Beginner |
Author:Charlie Griefer (CJ) |
Views: 35,746 |
Posted Date: Friday, August 15, 2003
arrays and structures - part 1
part one of a three-part tutorial designed to gently introduce you to the world of complex variables. Difficulty:Beginner |
Author:Charlie Griefer (CJ) |
Views: 38,881 |
Posted Date: Monday, August 11, 2003
arrays and structures - part 2
part two of a three-part tutorial designed to gently introduce you to the world of complex variables. Difficulty:Beginner |
Author:Charlie Griefer (CJ) |
Views: 28,371 |
Posted Date: Monday, August 11, 2003
arrays and structures - part 3
part three of a three-part tutorial designed to gently introduce you to the world of complex variables. Difficulty:Beginner |
Author:Charlie Griefer (CJ) |
Views: 33,417 |
Posted Date: Monday, August 11, 2003
Grouping Output in CF
How to group cfquery output in order to effectively display relational database data. Includes an overview of how to output nested groups as well. Difficulty:Beginner |
Author:Charlie Griefer (CJ) |
Views: 32,601 |
Posted Date: Tuesday, June 17, 2003
ColdFusion Mad Libs - Part I
A silly but fun time-waster that you can easily include on your Web site. You might be surprised at how addicting it can become :) Difficulty:Beginner |
Author:Charlie Griefer (CJ) |
Views: 27,719 |
Posted Date: Thursday, May 29, 2003
ColdFusion Mad Libs - Part II
You've finished the first Mad Libs tutorial, but you feel like there's something missing. Of course there is! You want to be able to save the final output to a database to let your visitors browse through other user's stories. Includes a bad-words filter for the more conservative among us :) Difficulty:Beginner |
Author:Charlie Griefer (CJ) |
Views: 22,880 |
Posted Date: Thursday, May 29, 2003
to cfqueryparam or not to cfqueryparam
It's been out there since ColdFusion 4.5...most of us have heard of it...few of us use it. Here are some compelling reasons why you should get into the habit of using the tag. Difficulty:Beginner |
Author:Charlie Griefer (CJ) |
Views: 34,198 |
Posted Date: Thursday, May 29, 2003
Dynamic Column Output (Part One)
Have you ever wanted to display your content in rows of 3 columns?
If you ever wanted to specify the number of columns per row within your content, here's the tutorial for you. Difficulty:Beginner |
Author:Charlie Griefer (CJ) |
Views: 35,094 |
Posted Date: Thursday, May 29, 2003
Dynamic Column Output (Part Two)
This tutorial picks up where the Dynamic Columns tutorial left off, showing you how to not only output your data in a specified number of columns, but how to do it while still publishing well formed HTML. Difficulty:Beginner |
Author:Charlie Griefer (CJ) |
Views: 27,604 |
Posted Date: Saturday, May 31, 2003
CFSCRIPT Intro
An introductory look at CFSCRIPT. Rules, some basic syntax, and a couple of examples of loops and conditional processing. Difficulty:Beginner |
Author:Charlie Griefer (CJ) |
Views: 47,012 |
Posted Date: Saturday, January 18, 2003
Helping users obtain their passwords
Your site requires your visitors to log in. of course, some of your visitors are going to forget their passwords (ok, most will forget their passwords). You don't want them to have to send you an e-mail, and then wait for a response. They need immediate access.
This tutorial shows two methods by which you can accomodate them. Difficulty:Beginner |
Author:Charlie Griefer (CJ) |
Views: 26,240 |
Posted Date: Thursday, August 28, 2003
Currency Conversion using Web Services
A very simple currency convertor that uses the latest exchange rates through the available Web Service Difficulty:Beginner |
Author:Phil Williams |
Views: 24,964 |
Posted Date: Wednesday, April 21, 2004
RSS Feed from Yahoo News
Bring the power of Yahoo News into your site. Everyone wants to bring updated news content to their sites. With this easy quick script, you can bring in yahoo News into your site, easy. Difficulty:Beginner |
Author:David McGraw |
Views: 12,307 |
Posted Date: Friday, April 15, 2005
Dynamic Content Map
This will diplay a map of links to your product categories and subcategories using 1 db table. Also includes advanced features. Difficulty:Beginner |
Author:Daz Horn |
Views: 10,103 |
Posted Date: Friday, March 3, 2006
Creating Dynamic Image Galleries
A tutorial showing you how you can upload one Full sized picture, and have a thumbnail automatically created for you, along with descriptions of the image! Difficulty:Beginner |
Author:Alex Allen-Turl |
Views: 39,048 |
Posted Date: Tuesday, December 24, 2002
The Easiest Way to make a form!
This is by far the most easiest and simplest way to make a form and update it to the database, very low maintenance and very very quick!! Difficulty:Beginner |
Author:Alex Allen-Turl |
Views: 27,901 |
Posted Date: Tuesday, December 24, 2002
Creating a Link Management System
This quick tutorial, shows you how to creat a Link system, that will count the amount of hits that your links create. Difficulty:Beginner |
Author:Alex Allen-Turl |
Views: 24,152 |
Posted Date: Tuesday, December 17, 2002
Flash forms
This tutorial gives an introduction to flash forms which can be implemented using Coldfusion 7.0 Difficulty:Beginner |
Author:Deepak |
Views: 27,093 |
Posted Date: Monday, May 16, 2005
DNS-less connection to MySQL (Part 2)
Ever wondered if there was a way to bypass setting up a datasource for every mySQL database connection? This tutorial shows you a simple way to connect directly to the mySQL server from your page using a small cffunction. Features examples, as well as support for inserts, updates, and deletes. Difficulty:Beginner |
Author:Dontreye Nero |
Views: 12,667 |
Posted Date: Thursday, December 8, 2005
Simple Database Remote Management
Add, Alter and Drop Tables and Columns remotly via a simple form. WARNING: First tutorial from a beginner! Difficulty:Beginner |
Author:Drew Radley |
Views: 12,003 |
Posted Date: Friday, November 11, 2005
Automatically adding CF comments in blank document
All the books on CF tell you to comment your code. And yet, when you create a new CF file in Dreamweaver MX, you have to add the standard comments manually every time. Not anymore! Difficulty:Beginner |
Author:Eric G. Myers |
Views: 21,737 |
Posted Date: Wednesday, October 16, 2002
Database Order Inquiry
A quick one page file to do a simple database query to check the status of a databased order. Includes javascript form validation. Difficulty:Beginner |
Author:Eric Giblock |
Views: 15,427 |
Posted Date: Monday, April 26, 2004
Catch dynamically created form values
When you dynamically create a list of form elements it is sometimes hard to catch the values of those forms to use for database insertion. This tutorial describes how you can do this. Difficulty:Beginner |
Author:Mathijs Gaalman |
Views: 16,342 |
Posted Date: Wednesday, February 16, 2005
Validating Multiple Email Addresses.
The Tutorial is reagarding the checking of the multiple email addresses. This is a server side coding using the ReFind and the Replace Functions. Difficulty:Beginner |
Author:Gurpreet Singh Randhawa |
Views: 12,058 |
Posted Date: Friday, April 6, 2007
Changing the Developer Edition IP Address
This article gives background and instructions on how to change the IP used in the Developer Edition of both CF5 & MX.
You can link through to my site at www.defusionx.com Difficulty:Beginner |
Author:Ian Winter |
Views: 22,215 |
Posted Date: Wednesday, January 8, 2003
Reset a Lost Administrator Password
If you've lost the ColdFusion MX Administrator password all is not lost. It can be reset it by altering a variable in one of the system files and restarting the ColdFusion process. Difficulty:Beginner |
Author:Ian Winter |
Views: 21,175 |
Posted Date: Monday, May 10, 2004
Meta Tag Management with ColdFusion
Need a quick way to manage your meta information? Frustrated with tags mistakenly deleted by page updates?
This handy script will help you keep track of and easily update your meta data. Difficulty:Beginner |
Author:Jason Bartholme |
Views: 10,021 |
Posted Date: Wednesday, March 29, 2006
The CFAPPLICATION tag and Session variables..
In order to use session variables, first you have to instruct the Cold Fusion server that you wish to use them. Here's a tutorial on how to do just that! Difficulty:Beginner |
Author:John Bartlett |
Views: 82,030 |
Posted Date: Tuesday, September 17, 2002
Many times we need a quick and easy way of importing data into our website databases. The CSV file format is one of the defacto standards for moving data between databases easily. Virtually all databases allow exported to CSV format. And virtually all database support importing a CSV formatted file. So why use Coldfusion to do this mundane task? Simply put it is database independant - in this example I created a simple script that reads a CSV file and inserts the records into a matched mySQL table. When I first started looking at this I was surprised that I could find very little of how to achieve this. So now that I have it worked out I thought I could share this little piece...
In this tutorial, I'm showing you a working method for URL Rewriting using ColdFusion, and a ColdFusion CFC. You'll be able to have your old urls like: http://yoursite.com/index.cfm?var1=1&var2=2 to be viewed and displayed as: http://yoursite.com/index.cfm/var1/1/var2/2/
This tutorial shows you how to gather and store user statistics, including Browser, Browser Version, Screen Width, Color Depth, Screen Height, Bit Rate and User Environment. Includes Browser Detection for IPhone, Blackberry, and Android-based mobile devices...
In FireFox, you can dynamically set the EncType of a form element to be "multipart/form-data" for file uploads; however, this does not work in Internet Explorer (IE). Apparently in IE, you have to set the "encoding" of the form rather than the "enctype". The good news is, you can set both values without concern and this will take care of the problem:
This Tutorial Will show you how to generate RSS Feeds from a Database Query and have those feeds made into a Compliant RSS 2.0 Feed Requires ColdFusion 8, will not work on earlier version of Coldfusion.
In this tutorial I'll show you how to optimze your database tables in MySQL (The script is very similiar for SQL Server) by using CFQUERY in a coldfusion page.
It's becoming more and more common that Users are accessing your website from a mobile web browser (like that from an IPhone, Blackberry, Android or other mobile device). It's also becoming more prevelant that you need to start supporting and developing for the mobile platforms. But how would you begin?
With AJAX applications giving us a lot more power than an "old school" web 1.0 page, it isn't unusual for someone to just sit on one page and fire off various operations that use HTTP to fetch and present data. This works fine until you leave the site alone for too long and your session times out. (I'm assuming most folks use a time based session, much like how ColdFusion works.) The question is - what happens in your current AJAX based application when a user's session times out?
Querying a Query
This will show you how to query a query. It also demonstrates how to use the datediff function and how to find an average. Difficulty:Beginner |
Author:Jennifer Davis |
Views: 26,660 |
Posted Date: Thursday, May 6, 2004
Multiple Reports with One SQL Statement
Your boss wants multiple reports from your database and he wanted them 5 mintues ago. This is a quick way to write one SQL statement but be able to query your database multiple times while specifying what values you want it to return. Difficulty:Beginner |
Author:Jennifer Davis |
Views: 17,174 |
Posted Date: Thursday, March 18, 2004
Simplified Application Deployment
This article describes how I use a cfswitch statement to make deployment fast, customizable, and easy. Difficulty:Beginner |
Author:Jerry Barnes |
Views: 15,436 |
Posted Date: Tuesday, October 19, 2004
List Driven Dynamic Fields
This article demonstrates how to create dynamic HTML controls such as checkboxes, select boxes, and radio groups without a database. Difficulty:Beginner |
Author:Jerry Barnes |
Views: 15,344 |
Posted Date: Friday, August 27, 2004
Easy URL Management
This article presents the method that I use to manage URL parameters. Difficulty:Beginner |
Author:Jerry Barnes |
Views: 18,211 |
Posted Date: Thursday, September 9, 2004
Search Engine Bot Notifier
This code detects the most common user agents (web browsers) and notifies you via email if it is not a recognized user agent as defined in the code. Usually this will be a bot of some sort. Extrememly useful for tracking how often Google, Yahoo, etc visits your site. It will email you the bot and a reverse IP lookup url with the IP appended so you can verify if it is a "good bot" or a "bad (spam) bot" (then you can block that IP or stop processing of the page). Use this in your home page or as an include file throughout your site. Nothing fancy it should work on MX also although I have not tested it there. Difficulty:Beginner |
Author:Jim Summer |
Views: 28,139 |
Posted Date: Wednesday, April 14, 2004
Navigation as an include file
Create an include file (custom tag) for your navigation to help make maintenance easier! This include file lights up the button depending on where the user is at in your website, and is XHTML 1.1 validated! If you need to edit your navigation, just do it in 1 place, the include file! Javascript included :) Difficulty:Beginner |
Author:Jim Summer |
Views: 67,952 |
Posted Date: Thursday, December 12, 2002
Replacing "enter" key with "<br>" tag
This little piece of code will transform those pesky "enter" keys in a textarea into " " tags so your users input is printed out properly in your html page. Difficulty:Beginner |
Author:Jim Summer |
Views: 28,958 |
Posted Date: Friday, December 13, 2002
Never change your copyright date again
This is jus a simple little script that will automatically update your copyright information and uses a to - from scheme display it if the start date and end date are not the same. Difficulty:Beginner |
Author:Jeff Sanders |
Views: 10,933 |
Posted Date: Thursday, January 6, 2005
Dynamically Add Rows To a Form
Adding lines to a form dynamically using javascript and CF.
User enters data, clicks Add Another, the page reloads. It keeps the data from line 1 and adds another blank row that is ready for data entry. Difficulty:Beginner |
Author:Jennifer Davis |
Views: 28,340 |
Posted Date: Monday, February 21, 2005
Displaying Random Quotes
A very easy way to display a random quote each time the page is loaded. Difficulty:Beginner |
Author:John Ramon |
Views: 9,519 |
Posted Date: Thursday, April 26, 2007
CF Mini Database Driven Calendar
I know there are a few calendars on the tutorial list, but everyone of them has someone asking how can I link to my database. I will show a simple solution to do this with examples. Difficulty:Beginner |
Author:John Ramon |
Views: 20,754 |
Posted Date: Friday, November 10, 2006
Simple Image Manipulation Tool
This tutorial will tech you how to check if a image has been resized, if it has leave it alone, if it hasnt resize it and add a _sm prefix on the begining of the filename. Difficulty:Beginner |
Author:Justin Gothier |
Views: 9,283 |
Posted Date: Thursday, December 15, 2005
Side By Side Product Comparison
This Tutorial will show you how to allow your web sites users to select items to compare side by side. Your items could be anything from products for sale to statistical information. Users can add and remove Items or Products to compare in a table. A great feature for sites seilling products, especially products with many variations for models in a series. Difficulty:Beginner |
Author:Kevin |
Views: 14,076 |
Posted Date: Thursday, January 12, 2006
Easy Pagination With MySQL and ColdFusion
This tutorial will show you how to implement easy and effective pagination in your ColdFusion application. This works great for breaking up and displaying large query results one page at a time. Difficulty:Beginner |
Author:Kevin |
Views: 38,750 |
Posted Date: Friday, October 14, 2005
(x)html compliant dynamic columns display
This tutorial will show you how to display yout query results in a horizontal format x number of columns without loosing (x)html compliance. It may look slightly more complicated than others you may have seen, but this example provides full html and xhtml compatibility by cloasing all end tags and properly nesting td and tr.
Difficulty:Beginner |
Author:Kevin |
Views: 16,968 |
Posted Date: Thursday, April 21, 2005
Fusebox 4.1 For Beginners Part 1
This four part series will introduce cf beginners to the fusebox frame work and help them get a grasp of this powerful technology. Difficulty:Beginner |
Author:Craig |
Views: 41,716 |
Posted Date: Monday, July 4, 2005
Fusebox 4.1 For Beginners Part 2
This four part series will introduce cf beginners to the fusebox frame work and help them get a grasp of this powerful technology. Difficulty:Beginner |
Author:Craig |
Views: 51,687 |
Posted Date: Monday, July 4, 2005
Fusebox 4.1 For Beginners Part 3
This four part series will introduce cf beginners to the fusebox frame work and help them get a grasp of this powerful technology. Difficulty:Beginner |
Author:Craig |
Views: 35,566 |
Posted Date: Monday, July 4, 2005
Fusebox 4.1 For Beginners Part 4
This four part series will introduce cf beginners to the fusebox frame work and help them get a grasp of this powerful technology. Difficulty:Beginner |
Author:Craig |
Views: 29,155 |
Posted Date: Monday, July 4, 2005
Turning up the heat in Fusebox 4.1
This tutorial teaches you some methodology and new xml tags you can use to create complex, but easy to use application in the fusebox framework. Difficulty:Beginner |
Author:Craig |
Views: 17,408 |
Posted Date: Thursday, October 27, 2005
Actionscript Basics in CFFORM
This tutorial teaches some basic ways to achieve effects using actionscript with your flash forms. Difficulty:Beginner |
Author:Craig |
Views: 29,592 |
Posted Date: Tuesday, February 27, 2007
Simple Suggest List using Scriptaculous
This tutorial shows the suggest list (auto complete) idea using the built in functions in Scriptaculous with a CF data page.
Working example at: http://www.brixontech.com/examples/webtwo/autocomplete/index.cfm Difficulty:Beginner |
Author:Kris Brixon |
Views: 21,015 |
Posted Date: Sunday, July 30, 2006
Task Scheduler without the Administrator
See link for tutorial and files: http://www.brixontech.com/examples/scheduler/index.cfm
The scheduled task manager in the ColdFusion Administrator can be replicated outside of the administrator. You can add, update, run, and delete scheduled tasks from a tag and you can list all tasks using the unsupported ServiceFactory class. Difficulty:Beginner |
Author:Kris Brixon |
Views: 18,012 |
Posted Date: Friday, August 11, 2006
Easy Table Sort / Page using AJAX
Table sort and paging using AJAX calls to fill a div that will be the container for the table.
See the following page for a live demo.
http://www.brixontech.com/examples/table/index.cfm Difficulty:Beginner |
Author:Kris Brixon |
Views: 27,912 |
Posted Date: Sunday, August 13, 2006
Banning the spam
Internet spam is on the rise, and more importantly spammers are targeting your sites comment forms. They are looking for the trackback urls to fool search engines into ranking their website higher in the search results. When this started to happen to me, I wanted to sent out emails to the offenders demanding that they stop. Unfortunatly the spam is being generated by bots and programs not some pimple faced kid behind a keyboard. Banning IP addresses is not enough and rarely works since intelligent spammers hide their true identity anyway. Next approach... Banning Keywords used by the offending sites. Thats where this tutorial comes in. Difficulty:Beginner |
Author:Mark Aplet |
Views: 15,834 |
Posted Date: Wednesday, March 15, 2006
How can I enable Unicode-aware storage and display in ColdFusion MX?
I have yet to see a truly complete tutorial on this subject, although Armin Danesh's 3-part Unicode article on CommunityMX comes pretty close. He covers stuff I don't here (like mySQL data connections), and you'll find it worth spending US$6 to buy his articles; especially since he takes the time to explain things, and this is only a quick list of do's and don'ts. Difficulty:Beginner |
Author:Matt Robertson |
Views: 14,105 |
Posted Date: Thursday, June 3, 2004
How Can I Throttle Down CFMAIL's Speed? (and why the hell would you want to do this?)
Its strange to discuss a procedure that makes a ColdFusion function less efficient. Especially in light of how well the ColdFusion MX 6.1 CFMAIL tag works (up to 1,000,000 messages per hour). Nonetheless, some realities in this world are inescapable, and doing this will fix one of them. Difficulty:Beginner |
Author:Matt Robertson |
Views: 18,852 |
Posted Date: Thursday, June 3, 2004
How Can I Safely Upload Files?
Use CFFILE to allow file uploads that are restricted in size and by MIME type, with friendly error messages. Difficulty:Beginner |
Author:Matt Robertson |
Views: 21,534 |
Posted Date: Thursday, June 17, 2004
Tip of the Day
Simple page to display a Tip of the Day, either all day or randomly. Difficulty:Beginner |
Author:Michael Gomez |
Views: 4,480 |
Posted Date: Saturday, February 7, 2009
Record Counts of Database Results
This tutorial is designed to show you how to get a record count of the results returned by your database query. It also show you how to then chart those results. Difficulty:Beginner |
Author:Mike Daugherty |
Views: 21,842 |
Posted Date: Friday, January 14, 2005
Re-usable form submission cleaner
This process details the usage of a flexible cfinclude which cleans up form fields, if they exist. Using StruckKeyExists to test if the form field was submitted keeps the include from ever throwing an error, even if called directly. Difficulty:Beginner |
Author:Michael Cruden |
Views: 10,851 |
Posted Date: Monday, August 22, 2005
Design Your Database
Dynamic websites use a database to store content and to extract the relevant information where needed. This article explains the main concepts related to using and designing databases, and presents some guidelines and best practices in database naming. Difficulty:Beginner |
Author:Marius Zaharia |
Views: 15,989 |
Posted Date: Wednesday, November 9, 2005
Easy automatic debugging
Extend the use of the new tag in CF5
to display any and all ColdFusion and CGI variables. Difficulty:Beginner |
Author:Nathan Miller |
Views: 22,464 |
Posted Date: Saturday, December 21, 2002
Scope your variables
Increase performace and readability by always scoping your variables Difficulty:Beginner |
Author:Nathan Miller |
Views: 33,191 |
Posted Date: Monday, May 19, 2003
Add a newsfeed to your site
Use the Moreover news service to add a news
feed to your site using cfhttp and wddx in 5 minutes! Difficulty:Beginner |
Author:Nathan Miller |
Views: 32,250 |
Posted Date: Saturday, July 26, 2003
Undefined variables
This tutorial will help solve the most common undefined variable issues. It is written for the beginner coder in terms that make scopes easily understandable by anyone. Difficulty:Beginner |
Author:Newton |
Views: 14,460 |
Posted Date: Saturday, September 11, 2004
Getting the identity value of a record inserted
This tutorial will help beginners find the identity field value of a record they have just inserted, without using a separate query! Difficulty:Beginner |
Author:Nate Nielsen |
Views: 16,054 |
Posted Date: Friday, September 10, 2004
Dual Select Box
The very easiest way to make a dependant drop down menu Difficulty:Beginner |
Author:Mike |
Views: 28,240 |
Posted Date: Tuesday, February 14, 2006
Frameless Frames in CF
The appeal of frames and the continued use is -- to leave one constant item on a part of the page.
However clever, they are a pain to code, setting targets and defining the columns and then there that scroll bar thing. Here is an easy way to create the illusion of frames on your page.
Difficulty:Beginner |
Author:D Evans |
Views: 26,526 |
Posted Date: Wednesday, December 11, 2002
Checking for submitted form fields
This sets all of the submitted form fields and values into a list then loops through the list of fields and values. Difficulty:Beginner |
Author:D Evans |
Views: 25,666 |
Posted Date: Friday, December 13, 2002
Trouble Shooting Cookies that work for you, One Possibility
I had had created a login that used cookies to give access to an area of the web
site. The owner of the web site could not login to the area using Windows NT, but upon testing I could always login with my windows 98 system. I could not figure out why the NT system would not login, but I could.
It seemed to be a coding error by the site owner, since other sites could be
logged in to. Some time later I stumbled upon the answer. Difficulty:Beginner |
Author:D Evans |
Views: 21,706 |
Posted Date: Monday, December 9, 2002
Set Credit Card Years Forever
I downloaded a tutorial for populating a year select list and made some changes that I think will be helpful to you. Once you set it up, you don’t have worry about it anymore. It will populate itself with the years from current to whatever number of years you want.
Difficulty:Beginner |
Author:Carlos Batista |
Views: 13,302 |
Posted Date: Monday, May 14, 2007
"processing page, please wait", made easy!
This bit of code will allow you to output a percentage readout to your users very easily using javascript. Works great in IE or Mozilla, and once you know how to use this, you can do a TON of other things interactivly! Difficulty:Beginner |
Author:Justice |
Views: 20,713 |
Posted Date: Thursday, August 26, 2004
RSS Feed to CF Query
This quick and easy function converts an RSS feed XML document into a coldfusion query for you to easily loop through and use on your website. Difficulty:Beginner |
Author:Paolo Broccardo |
Views: 19,364 |
Posted Date: Tuesday, March 28, 2006
Simple Regular Expressions
It's a first in a three part tutorial on Regular Expressions, what they are, simple uses for them and also a test at the end. It goes through simple matching, start and end of strings, grouping and the | (OR) operator. Difficulty:Beginner |
Author:Paul Johnston |
Views: 26,960 |
Posted Date: Friday, May 16, 2003
How to Dynamically Generate Static HTML Files Using Coldfusion
This tutorial shows the user how to create static html files using Coldfusion instead of using dynamic cfm templates. The tutorial illustrates this technique by creating a fictional mini site containing links to movie reviews and the actual movie reviews. Difficulty:Beginner |
Author:Paul Soucy |
Views: 13,955 |
Posted Date: Tuesday, May 3, 2005
Getting Coldfusion Server Metrics
The often forgotten function GetMetricData() function returns the same info as the cfstat utility. Difficulty:Beginner |
Author:Peter Tilbrook |
Views: 12,209 |
Posted Date: Thursday, June 3, 2004
Getting the TimeZone name
CFML's function GetTimeZoneInfo will give you timezone offsets, and day light savings time information, but if you want the name of the timezone your ColdFusion server is in you can use java's TimeZone class. Difficulty:Beginner |
Author:Peter Tilbrook |
Views: 12,727 |
Posted Date: Thursday, June 3, 2004
What version of CFMX is my host running?
As of writing this there are four flavours of CFMX, for Windows at least, floating about. You may know what version YOU are running but what about your hosting provider? Run the code below to find out. Difficulty:Beginner |
Author:Peter Tilbrook |
Views: 15,367 |
Posted Date: Wednesday, May 7, 2003
Why have my CFFORM's suddenly broken - using CFFORM in a hosted environment
If you are using the CFFORM tag in a shared hosting environment, and why wouldn't you as CF form elements can be very useful, you may now be receiving obscure JavaScript errors when your form loads. Never fear, the solution is a simple fix to an annoying problem Difficulty:Beginner |
Author:Peter Tilbrook |
Views: 22,378 |
Posted Date: Tuesday, July 8, 2003
Slick Little Tell-A-Friend Feature
Add this one page tell-a-friend file to your website and begin letting your visitors promote your site for you. Very easy to set up. Can be cfincluded anywhere on your site.
Visitors just fill in their friends email address and click the send button. The rest is taken care of. Simple one click functionality for your visitors.
Automatically sends an email, containing anything you wish, to your visitors friend. Difficulty:Beginner |
Author:Ryan BeMiller |
Views: 15,141 |
Posted Date: Thursday, January 13, 2005
Display random images each time a page loads or is refreshed
This tutorial will show you how easy it is to display an unlimited number of images randomly on your pages. Each time a page is loaded or refreshed a random image will load. Difficulty:Beginner |
Author:Ryan BeMiller |
Views: 27,214 |
Posted Date: Tuesday, April 22, 2003
Show Source to Friends
Not really a tutorial but some code to help you solve programming problems by showing your code online to your friends or associates. Difficulty:Beginner |
Author:Redmanz |
Views: 25,609 |
Posted Date: Tuesday, February 18, 2003
Send Page Url to A Friend
A simple script where a user can click a link that will take the current templates url and pass it to a email form which they can than fill in with their friends emails addresses to send their friends your site address. Difficulty:Beginner |
Author:Redmanz |
Views: 39,239 |
Posted Date: Saturday, November 23, 2002
Dynamic Sorting
This tutorial shows the basics of allowing your end-users to dynamically sort the order in which they view your records. You can have as many sort orders as you have fields viewed! Difficulty:Beginner |
Author:Redmanz |
Views: 34,292 |
Posted Date: Thursday, December 5, 2002
Populating A Year Select List
I was recently creating a registration form that asked users for there year of birth. Instead of creating a select list with over 100 options I wrote this to save time. Difficulty:Beginner |
Author:RMorse |
Views: 13,151 |
Posted Date: Tuesday, August 24, 2004
Email Module and You
A simple email module tutorial that anyone can use and expand on. Difficulty:Beginner |
Author:Jeremy Rottman |
Views: 28,224 |
Posted Date: Tuesday, March 15, 2005
Adding smillies and htmltags in textarea input field by simply clicking on the images.
Heres a rather simple Tutorial on how to add smillies and or htmltags in your textarea inputfield.
Just picture this:
You want people to fill out a (Comments / chat) textbox.
And you want the users to be able to insert smillies and/or htmltags in the text just by cliking on the smillie image and use the buttons for the htmlTags. When doing so it will add the apropriate shortcode, which will later be replaced by the actual image and or htmlTag, after you have submitted the form.
I also added a piece of code where you can add the text in a MS Access Database in this Case.
It all works in combination with a simple Javascript. Difficulty:Beginner |
Author:R van Naamen |
Views: 16,543 |
Posted Date: Friday, November 24, 2006
How to greet your users on their birthday
This tutorial uses a couple of date/time functions and database query results in order to get your DBMS to greet your users when their birthday dates match the current date. Difficulty:Beginner |
Author:Julio Cesar Sousa Amaral |
Views: 7,625 |
Posted Date: Wednesday, January 2, 2008
Random Images In a Few lines of code
Ever wanted to run random images on your site, but didnt want tons of code?
Here you go, every time the user refreshes the image is changed. Difficulty:Beginner |
Author:DesertTRD |
Views: 17,273 |
Posted Date: Friday, August 15, 2003
Using ColdFusion for things other than serving web pages
Sometimes, ColdFusion can be used to do tasks that you wouldn't have normally thought of. This tutorial examines one such incident and the ColdFusion solution. Difficulty:Beginner |
Author:Steven Durette |
Views: 18,329 |
Posted Date: Friday, November 28, 2003
Using ColdFusion Functions to clean up code
In another tutorial inspired by a co-worker, I look at the ability to clean up code using CF Functions in CF5 and CFMX. Difficulty:Beginner |
Author:Steven Durette |
Views: 20,054 |
Posted Date: Friday, November 28, 2003
Every Week has a Wednesday
This tutorial serves two purposes. First it demonstrates how to create a function that is usable in CF5, CFMX and CFMX6.1. It also demonstrates a math and logical way to determine the number of weeks in a month without looping. Difficulty:Beginner |
Author:Steven Durette |
Views: 16,655 |
Posted Date: Wednesday, December 24, 2003
Your first CFC !!!!
A simple and detailed of your first CFC. Great documentation of each step taken. A must for newbies!!! Difficulty:Beginner |
Author:Michael "Newkirk" MacDonald |
Views: 20,024 |
Posted Date: Sunday, January 23, 2005
Preparing the Invoices compatable to Quickbooks(IIF format)
Hi,
This tutorial is all about the how to format & prepare the ecommerce invoices into Quickbooks where it will create a tabbed delimeted text file (IIF) which is compatable to import into quickbooks which reduces the manual entreies in to Quick books each invoice.
the code file is a real time file
i hope this is useful for your ecommerce applications
mail me if any questions
thank you
suresh pagidipati
sureshpagidipati@yahoo.com Difficulty:Beginner |
Author:suresh |
Views: 9,232 |
Posted Date: Thursday, December 1, 2005
Use checkboxes on update pages
Do you have an update page and want to use checkboxes on the page? This tutorial will go over the two steps needed. Difficulty:Beginner |
Author:Rhino |
Views: 19,761 |
Posted Date: Wednesday, March 31, 2004
Enter-Update same form
I hate creating duplicate forms where one is for entry and an identical one is for udpating. This code lets you use one form for both purposes. Difficulty:Beginner |
Author:Rhino |
Views: 18,764 |
Posted Date: Wednesday, April 7, 2004
Count Down
Easy CFM file that counts down from a distant date to the present. Can show how many days, months, or years. Difficulty:Beginner |
Author:Rhino |
Views: 21,759 |
Posted Date: Friday, December 13, 2002
IP checker
Checks to see where the user came from and then decides where to send them. Difficulty:Beginner |
Author:Rhino |
Views: 22,052 |
Posted Date: Friday, December 13, 2002
Auto Event Emailer
Queries the database everyday and sends an email automatically when certain events happen. Difficulty:Beginner |
Author:Rhino |
Views: 23,748 |
Posted Date: Friday, December 13, 2002
Form with 2 Submit Buttons
An easy way to have a form with 2 or more submit buttons where each one does a different thing. One can count a rows in a DB, then next can actually submit the query. Possibilities are limitless. Difficulty:Beginner |
Author:Rhino |
Views: 25,823 |
Posted Date: Monday, October 9, 2006
This tutorial will show you how to efficiently re-use code and in addition how to create a random list of colors that you can use with cfchart colorlist.
Have you ever wanted to let your annonymous (non logged in / members) users know what items they have not yet read in your blog or discussion board / forum? This tutorial shows you a real easy and quick way to do just that... take a look now!
Print your web pages on the fly!
This tutorial will demonstrate how use ColdFusion, Javascript and Style sheets to create the perfect Printing Machine! ;) Difficulty:Beginner |
Author:Pablo Varando |
Views: 40,639 |
Posted Date: Sunday, December 15, 2002
A quick intro into the world of Custom Tags!
The following tutorial will briefly touch over Custom Tags and show you what they are, how you use them, and how they benfit you by using them. Difficulty:Beginner |
Author:Pablo Varando |
Views: 38,482 |
Posted Date: Friday, September 6, 2002
Alternating Row Colors!
This tutorial will demonstrate how to alternate row colors when outputing your data. Difficulty:Beginner |
Author:Pablo Varando |
Views: 61,467 |
Posted Date: Tuesday, September 17, 2002
Inserting data into a database
This tutorial will show you how to insert data into a database, then have that information emailed to you and the person submitting the data. Difficulty:Beginner |
Author:Pablo Varando |
Views: 56,138 |
Posted Date: Thursday, August 1, 2002
Retrieving Records From a Database..
This is the basics of ColdFusion. This tutorial will demonstrate how to query a database and then display the records found. Difficulty:Beginner |
Author:Pablo Varando |
Views: 49,280 |
Posted Date: Saturday, August 3, 2002
Having Your Database Do The Work… not ColdFusion!
This tutorial will demonstrate how you can use the functions that come built in on your database to do the work, instead of doing the work in your code the hard way! Difficulty:Beginner |
Author:Pablo Varando |
Views: 44,068 |
Posted Date: Thursday, August 8, 2002
Changing the form submission page on the fly!
This tutorial is not ColdFusion oriented, but covers a great trick to allow you to submit a single form to a variety of different pages on the fly. Difficulty:Beginner |
Author:Pablo Varando |
Views: 29,875 |
Posted Date: Monday, December 1, 2003
CaSe SensitiVe password logins!
This tutorial will demonstrate how to verify users passwords to be CaSe SensiTive so add another layer of security to your applications! Difficulty:Beginner |
Author:Pablo Varando |
Views: 75,198 |
Posted Date: Wednesday, February 5, 2003
Dynamic Last Date Modified?
This tutorial will demonstrate how to display the date a web page was last modified to your visitors dynamically. Difficulty:Beginner |
Author:Pablo Varando |
Views: 27,912 |
Posted Date: Monday, April 12, 2004
Correct Content (document) serving!
This tutorial will demonstrate how to correctly serve documents via ColdFusion and allow you to correctly name the download as you see fit! Difficulty:Beginner |
Author:Pablo Varando |
Views: 28,314 |
Posted Date: Tuesday, February 10, 2004
Color Scheming with Ease!
This tutorial will show you how to easily change your color scheme with just one click. Difficulty:Beginner |
Author:Will Tomlinson |
Views: 15,892 |
Posted Date: Saturday, September 11, 2004
Matching Similiar Strings in CFMX
An example of how to match similiar strings using a combination of SQLServer and CFMX. Difficulty:Beginner |
Author:Rex Allen |
Views: 10,078 |
Posted Date: Friday, March 3, 2006
Alternating Table row color
Simple way to alternate the table row colors as well as changing them with mouse overs. Difficulty:Beginner |
Author:Michael Gomez |
Views: 2,010 |
Posted Date: Friday, July 10, 2009
This short tutorial will have your site looking awesome with flash forms on a shared server environment. This requires access to CF8 (or 7) /CFIDE/Scripts files. You can install a copy of CF8 Dev server on your computer and get them from there if you need to. See Adobe.com for details on downloading CF8 Dev Edition (its free).
Difficulty:Beginner |
Author:Justin Small |
Views: 1,910 |
Posted Date: Friday, July 10, 2009
Hi Guys! You have sen many applications with google maps and coldfusion showing a specific markers on the map. Most use Custom Coldfusion based tag to show markers on the website. That is also true. But here i will simply use the javascript and the XML functionality to show multiple markers.
Evrything is possible with Custom tag, but suppose your host does not allow you to use any custom tag and then u desperately looking a solution something like. Here is the solution for you.
Very Basic Coldfusion Code is used and i have explained everything in detail for you better understanding
This is a Small tutorial where you can style your website with multiple fonts. Just choose the font from the database. very handy and it can make you website look different. It can be tweeked to many phases. think as gar as you can and make the tweek as good as you can. here i have just provided a base how we can play with fonts and many other things. it has not been tested on railo and bluedragon but i think it will work
be using the avacedA Small Code where we will be shuffling the code of captcha to display the 6 random number at a time. The Captcha Build is also a Case-Senstive match and made with a bit difficulty to Judge with a small Thinking.
Detecting Browsers Using Coldfusion
A Custom Tag in which you will be able to find out what exactly the user is using and then you can change the CSS File according to that specific browser.
I Rec-worked this Custom Tag a bit to make it work more better and include some extra browser. Still the Credit goes to Original Browser whose Name i do not Know Really.
You will find the code very Handy as it will help in making your website browser-specific and great look to end Users. Difficulty:Beginner |
Author:Gurpreet Singh Randhawa |
Views: 3,689 |
Posted Date: Thursday, January 28, 2010
A Complete Banning Tutorial where you can add as many ipaddresses as you can and any request coming from that relevan Ipaddress will block the user from accessig the website contents. Very Basic and very easy to follow Up. Mail Me anytime if you encounter certain issues while making the script to work.
You can add upto unlimited ipaddresses where you can block any unauthorized access to the website.
A Complete Way how we can add a fetch a Podcast and display on the website. Very easy with just Simple XML Tags. the Tutorial has been Influenced by various Peoples works and Finally i came Up with this. Check and You will have the Podcast view for your own website.