Website Domain Registration and Website Hosting - Host a Website Builder
GoWebsite.com provides Domain Registration
Website Hosting, On-Line Shopping Carts,
Blog Hosting, Email Accounts, Security Certificates,
Merchant Accounts & other Website Products.
Free setup! Speak with us anytime: (480) 624-2500

Frequently Asked Questions

What are ColdFusion custom tags and how do I use them?

Print this Article
Comment on this Article

Custom tags are a way of encapsulating your code so that you can use it on other ColdFusion pages just like a standard CFML tag.

For example, you could create a custom tag called "cf_hello" as follows:

  1. First, build a page named hello.cfm with the following code:
    <cfoutput> Hello#Attributes.Name#! </cfoutput>

  2. Now, build another page called myapp.cfm (and place it in the same directory as hello.cfm) with the following code:
    <cf_hello Name="Joe User">
    Welcome to my Website!

  3. Browse to myapp.cfm and you will see the results:
    Hello, Joe User!
    Welcome to my Website!

NOTE: If you plan to use your custom tags across multiple ColdFusion pages in several different directories, you are better off calling your tag using <cfmodule>. This way, you won't have to have a copy of your custom tag page in every directory of your Website. For example, the following code will call the custom tag in the parent directory:

<cfmodule template="/hello.dfm" Name="Joe User">

Currently, we do not support the creation of mappings, nor the installation of ColdFusion tags in the cffusionCustom Tags directory on the server.

For more info on using custom tags, see Macromedia's Livedocs Website at Macromedia's livedocs website

Domain Registration Domain Registration
Pay less for website domain names. Register your own .com, .net or .org for as low as $8.67/yr. A free Email Account is included.
Website Hosting Website Builder
For as little as $3.89 per month you can build your Website online with Website Builder using our easy to use professionally designed templates.
Play Video
Shopping Cart Software Quick Shopping Cart
Build and run your own successful online store in minutes! You're just five easy steps away!
Play Video
Website Hosting Website Hosting
Everything you need to give your Website the reliable, high-performance home it deserves!