Can you not just create a mapping to the directory where your HTML files
live?

Then, in your custom tag: <cfinclude template="/myMapping/theHtmlFile.html">

-Brad

-----Original Message-----
From: Jim McAtee [mailto:[EMAIL PROTECTED]
Sent: Monday, August 25, 2003 6:42 PM
To: CF-Talk
Subject: Re: cfinclude from within CFML tag


----- Original Message -----
From: "Gyrus" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, August 25, 2003 4:07 PM
Subject: Re: cfinclude from within CFML tag


> At 14:21 25/08/2003 -0600, you wrote:
> >How do you cfinclude a file from within a custom tag?  I've got a group
of
> >cftags that all want to cfinclude an html file in the same directory.
The
> >directory with the tags is a subdirectory of a custom tag directory set
up
in
> >the CF Administrator.
> >
> >One thing I suppose I could do is rename the file with a CF extension and
then
> >call it as a CF tag.  And I believe I could do it by mapping the
directory
in
> >the Administrator.  Was wondering if there was another way.
>
> CFINCLUDE works fine inside custom tags. Are you not able to grab files
> from the web root when your tag is inside the CF installation? Why not
keep
> CF tags inside the web root and call them with CFMODULE? Not sure I'm
> grasping the problem though...

The tags are shared by a number of web sites.  I want to be able have
multiple
tags cfinclude an html file that sits in the same directory as the tags.  If
it
can be done.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Reply via email to