Yes, this is right. I'd suggest self closing the tag as well.

<cfmodule .... />

And, if you don't want your tag to run twice, add

<cfexit method="exittag">

to the end of your custom tag.

On 3/2/07, Will Tomlinson <[EMAIL PROTECTED]> wrote:
> I'm writin a site old school using custom tags, and wanted to if there's a 
> best way to invoke the tag. I hardly ever use them...
>
> <cfmodule template="CustomTags/header.cfm" title="CAP Home">
>
> This is just handling page layout. I'll have a footer, left menu, etc. I 
> usually use CFC's for all this, but decided to write this site different.
>
> Thanks,
> Will
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271385
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to