Results 1 to 1 of 1

Thread: Creating Your Own Custom Tag Paths

  1. #1
    Join Date
    Nov 2009

    Default Creating Your Own Custom Tag Paths

    Starting in ColdFusion 8, ColdFusion allows creation of Custom Tag Paths in each site's Application.cfc file. This allows you to create and manage your Custom Tag Paths without having to use CF Administrator (ie. submit a support ticket). The following steps will help you set up a Custom Tag Path:

    • If you do not already have an Application.cfc file in your site's Web root, create one now.
    • Place the following code in the Application.cfc file and save:
      <cfset THIS.customtagpaths="d:\home\\wwwroot\customtagfolder">

    In this case, you'd replace "" with your domain name, and "customtagfolder" with the name of the folder you created for your custom tags.

    Now you have successfully added your custom tag path. If you have multiple tag paths to add, try using the following code instead:
    <cfset THIS.customtagpaths=ListAppend(THIS.customtagpaths, "d:\home\\wwwroot\customtagfolder")>

    CF9 Livedocs - Application Variables
    FusionGrokker - Relative Custom Tag Paths: Friend or Foe?
    Last edited by jakeh; April 18th, 2010 at 12:57 PM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts