Shane, really two different things going on here :)

having nothing to do with the syntax of CFMODULE (and its closing tag, when
used), you can put BodyContent.cfm anywhere in your Custom Tags directory
(or any sub-dir thereof)...you do NOT need it in every directory from which
it is called.   Just be sure that any time you add any sub-dirs to the
CustomTag directory (or make a change in the location of any tag already
there) that youre-start the CF service (it maps out the custom tag directory
only on service start-up)

The CFMODULE syntax would certainly be useful if you do no have access to
your server's CustomTags directory , for example if you are on a shared
server at a hosting provider, in which case they will likely have given you
a directory into which you CAN put your custom tags, and made a CF mapping
for it.  Note that if this is the case then you should use the TEMPLATE
attribute of CFMODULE which takes a CF mapped path, rather than the NAME
attribute of CFMODULE which takes a dot-noted path relative to the
CustomTags "root"

----- Original Message -----
From: "Shane Johnson" <[EMAIL PROTECTED]>
To: "Fusebox" <[EMAIL PROTECTED]>
Sent: Wednesday, February 07, 2001 11:13 AM
Subject: RE: </cfmodule>?


> I would love to know that too, I have just been using it as
> <cf_bodycontent> and dropping a copy of the tag into the same directory
that
> I call it from.
>
> -----Original Message-----
> From: Nathan Shaw [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 07, 2001 6:39 AM
> To: Fusebox
> Subject: OT: </cfmodule>?
>
>
> A bit OT, but I was wondering if anyone knew how to
> use cfmodule on a custom tag that has an opening and
> closing tag, ala cf_bodycontent.
>
> This does not work:
>
> <cfmodule template="bodycontent.cfm">
> blah blah blah
> </cfmodule>
>
> Has anyone figured this out? Willing to share the
> syntax? TIA,
>
> Nate
> www.iaffectTV.com
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to