Custom Tags


Custom Tags are a set of ColdFusion tags combined into a tag and invoked similarly to regular ColdFusion tags. For example, you could create a page named apple.cfm and then call it cf_apple in your code.

There are three different methods to create and access your custom tag:

  1. Put your custom tags in a directory on your site and use the cfmodule tag to call the custom tag however you want (see below for more details). This is the method we recommend as it gives you full control over your custom label(s) and only requires you to make one copy of your label.
  2. Store the custom tag file in the same folder as the .cfm page that calls the custom tag. If you are calling the custom tag from multiple folders on your website, you must have a copy of the custom tag file in each folder.
  3. Upload the private label file to your website folder and contact us with the file name. We will move it to the private tags folder for you. Please try to use a unique name. This method is generally not recommended as you give the least amount of control when changing your custom tags.

Feedback

Did you find this content helpful?