Bill,

I didn't like the idea of a custom tag directory.  Because I have to manage
a separate folder outside of my project/application.  Plus, if I move to
another server I have to ask the hosting company to install them each time.
That's why I'd rather keep the cfm's all in one place; my project folder.

Thanks for your suggestion.
Dan

 -----Original Message-----
From:   Bill Edstrom, Jr. [mailto:[EMAIL PROTECTED]]
Sent:   Friday, November 10, 2000 11:51 AM
To:     CF-Server
Subject:        RE: CF_Routine

>>>Or you can move your custom tags to the custom tags directory, usually
located at c:\cfusion\customtags.  By default when calling your <cf_routine>
tag the app server will check for the existance of the tag in the calling
template's directory, and if it doesn't find it it will look in the CF
custom tags directory.  CFModule works great, too, but if you decide to move
the file you'll have to update your cfmodule calls.<<<

Note: If you move the tag to the CustomTags directory, you will want to name
it routine.cfm. The CF_ is automatically implied when you use CFML custom
tags. If you were to name the file cf_routine.cfm, to use the the tag, you
would have the unfortunate syntax:
<cf_cf_routine>

-Bill

-----Original Message-----
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 10, 2000 6:52 AM
To: CF-Server
Cc: '[EMAIL PROTECTED]'
Subject: RE: CF_Routine


> I have a question.  I have a CF_Routine located in a
> different folder than the calling cfm. Is there a way
> to reference the CF_Routine? Below is an example of my
>folders.
>
> Main Folder
> -----------Application.cfm
>
> Home Folder
> -----------Index.cfm
> -----------Other.cfm <<< (This cfm is trying to reference
> the CF_Routine under the CF_Custom Folder)
>
> CF_Custom Folder
> -----------CF_Routine
> -----------CF_others

You can use CFMODULE with the TEMPLATE attribute to do this:

<cfmodule template="../cf_custom_folder/cfroutine.cfm" ...>

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
----------------------------------------------------------------------------
--
To unsubscribe, send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body or visit the list page at www.houseoffusion.com

------_=_NextPart_001_01C04B2B.96735400
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>RE: CF_Routine</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Or you can move your custom tags to the custom tags =
directory, usually located at c:\cfusion\customtags.&nbsp; By default =
when calling your &lt;cf_routine&gt; tag the app server will check for =
the existance of the tag in the calling template's directory, and if it =
doesn't find it it will look in the CF custom tags directory.&nbsp; =
CFModule works great, too, but if you decide to move the file you'll =
have to update your cfmodule calls.</FONT></P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Dave Watts [<A =
HREF=3D"mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]</A>]</FONT>=

<BR><FONT SIZE=3D2>Sent: Friday, November 10, 2000 6:52 AM</FONT>
<BR><FONT SIZE=3D2>To: CF-Server</FONT>
<BR><FONT SIZE=3D2>Cc: '[EMAIL PROTECTED]'</FONT>
<BR><FONT SIZE=3D2>Subject: RE: CF_Routine</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>&gt; I have a question.&nbsp; I have a CF_Routine =
located in a </FONT>
<BR><FONT SIZE=3D2>&gt; different folder than the calling cfm. Is there =
a way </FONT>
<BR><FONT SIZE=3D2>&gt; to reference the CF_Routine? Below is an =
example of my </FONT>
<BR><FONT SIZE=3D2>&gt;folders.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Main Folder</FONT>
<BR><FONT SIZE=3D2>&gt; -----------Application.cfm</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Home Folder</FONT>
<BR><FONT SIZE=3D2>&gt; -----------Index.cfm</FONT>
<BR><FONT SIZE=3D2>&gt; -----------Other.cfm &lt;&lt;&lt; (This cfm is =
trying to reference </FONT>
<BR><FONT SIZE=3D2>&gt; the CF_Routine under the CF_Custom =
Folder)</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; CF_Custom Folder</FONT>
<BR><FONT SIZE=3D2>&gt; -----------CF_Routine</FONT>
<BR><FONT SIZE=3D2>&gt; -----------CF_others</FONT>
</P>

<P><FONT SIZE=3D2>You can use CFMODULE with the TEMPLATE attribute to =
do this:</FONT>
</P>

<P><FONT SIZE=3D2>&lt;cfmodule =
template=3D&quot;../cf_custom_folder/cfroutine.cfm&quot; ...&gt;</FONT>
</P>

<P><FONT SIZE=3D2>Dave Watts, CTO, Fig Leaf Software</FONT>
<BR><FONT SIZE=3D2><A HREF=3D"http://www.figleaf.com/" =
TARGET=3D"_blank">http://www.figleaf.com/</A></FONT>
<BR><FONT SIZE=3D2>voice: (202) 797-5496</FONT>
<BR><FONT SIZE=3D2>fax: (202) 797-5444</FONT>
<BR><FONT =
SIZE=3D2>---------------------------------------------------------------=
---------------</FONT>
<BR><FONT SIZE=3D2>To unsubscribe, send a message to =
[EMAIL PROTECTED] with 'unsubscribe' in the body or =
visit the list page at www.houseoffusion.com</FONT></P>

</BODY>
</HTML>
------_=_NextPart_001_01C04B2B.96735400--
----------------------------------------------------------------------------
--
To unsubscribe, send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body or visit the list page at www.houseoffusion.com

----------------------------------------------------------------------------
--
To unsubscribe, send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body or visit the list page at www.houseoffusion.com

------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with 
'unsubscribe' in the body or visit the list page at www.houseoffusion.com

Reply via email to