ColdFusion Custom Tag Header and Footer Demo

jump to content

Examples

cfmodule example

cfmodule example:

<cfmodule template="demoHeader.cfm" title="main" headermenuitems="#headerMenuItemsArray#" sideMenuItems="#sideMenuItemsArray#">
	<h2>ColdFusion Custom Tag Header and Footer Demo</h2>
	...content here...
<cfmodule template="demoFooter.cfm">

Using the cfmodule tag is another way to use the custom tag. This is nice if you cannot (or do not want) to setup a custom tag directory on your server.

Just like a custom tag the cfmodule tag can use an attribute collection.