You can use this custom command in ColdFusion to call the custom tags. It works similarly to directly calling a custom tag. Let's say, you are going to call the page item we were working with by using the CFModule
tag. This is how your page will appear. You can also find this page in the examples folder as four.cfm
:
<cfmodule template="page.cfm" layout="faq" title="ColdFusion Site - Creating Custom Tags" keywords="learn,CF,Coldfusion" description="This is the third page from the learning custom tags chapter."> <h2 id="pageName">Creating Custom Tags</h2> <div class="story"> <h3>Power Markup via Custom Tags </h3> <p> Custom tags are one powerful method of making HTML sites easier to build, manage and update. If you have never learned the power of custom tags you should get a copy of ColdFusion Bootcamp and read all about it! </p> </div> </cfmodule>
If we were calling the custom tag in a different...