If memory serves, I think I had trouble with doing the latter in CF 4.  But you can 
always put a shell file in the same directory as the page that calls the custom tag.  
For example, if you want to use <cf_MyTag>, just put a file "MyTag.cfm" that contains 
only 

<cfinclude template="relative_path/MyTag.cfm">

Of course, if you are calling the tag a lot, it can make the code look much cleaner to 
use the <cf_MyTag> format (IMHO).

>>> "Bryan Stevenson" <[EMAIL PROTECTED]> 03/29/02 02:31PM >>>
If I'm reading you right....yes

If you have a custom tag that is used like this
<cf_MyTag></cf_MyTag>

Then use:
<cfmodule template="relative_path_to_my_tag/MyTag.cfm"></cfmodule>

HTH

Bryan Stevenson
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
p. 250.920.8830
e. [EMAIL PROTECTED] 
---------------------------------------------------------
Macromedia Associate Partner
www.macromedia.com 
---------------------------------------------------------
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com 

----- Original Message -----
From: "Wallick, Mike" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, March 29, 2002 11:19 AM
Subject: Custom Tags as <cfmodule>


> On my web host, I don't have a Custom Tags directory (at least I don't think
> so). My question is, is there a way to use a custom tag that requires an end
> tag (<cf_tag></cf_tag>) as a <cfmodule>?
>
>
>   Mike Wallick
> Web Application Developer
> [EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>
> 651.628.5377
> http://www.securecomputing.com <http://www.securecomputing.com/>
>
>
>
> 

______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to