• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 19. Creating Custom Tags > Calling Custom Tags

19.2. Calling Custom Tags

There is no real installation process for custom tags other than to save them on your ColdFusion server. There are, however, different locations on the server where you can save the tags that affect whether they can be called locally by a single application or shared across all applications.

To call a custom tag from within a CFML template, you simply prefix the template name of the tag with CF_. Therefore, if you have a custom tag saved on your server as MyTag.cfm, you call it like this:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint