RE: Subdirectories in CustomTags directory?

2001-03-30 Thread Dave Watts

> Is there a way to call a custom tag that's in a subdirectory of ...
> \CFUSION\CustomTags ? 
> 
> In other words, I want to organize some custom tags into
> subdirectories:
> \CFUSION\CustomTags\Site1\CT1.cfm (+ CT1a.cfm , CT1b,cfm, ...)
> \CFUSION\CustomTags\Site2\CT2.cfm (+ CT2a.cfm, CT2b.cfm, ...)
> 
> I have tried this, but apparently, CF won't look in subdirectories of
> the "CustomTags" directory. Is there a way to get CF to look in them?
> Alternatively, is there another way to manage custom tags?

If you've got a file "ct1.cfm" in \cfusion\customtags\site1\, and nowhere
else, this syntax should work:



However, if you've got multiple files "ct1.cfm" in multiple subdirectories
of \cfusion\customtags\, you'll need to use CFMODULE to execute the specific
one you want:



Note the dot syntax - the above name would correspond to
\cfusion\customtags\site1\ct1.cfm.

If you want to call custom tags in directories either relative from the
current location of the calling page, or mapped in the CF Administrator, you
can use the TEMPLATE attribute of CFMODULE:





Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Subdirectories in CustomTags directory?

2001-03-30 Thread Jamie Jackson

On Fri, 30 Mar 2001 09:42:25 -0500, Dave Watts <[EMAIL PROTECTED]>
wrote:

>If you've got a file "ct1.cfm" in \cfusion\customtags\site1\, and nowhere
>else, this syntax should work:
>
>

Yeah, this is what I tried before, and I got an error saying CF
couldn't find the template. (Custom tag location:
c:\CFUSION\CustomTags\SNN\SNN.cfm)
___
Error Diagnostic Information
Cannot open CFML file

The requested file "C:\CFUSION\CustomTags\SNN.cfm" cannot be found.

The specific sequence of files included or processed is:
D:\WEBSITES\MFRC\SNN\EFMPAC\INDEX.CFM  
  C:\CFUSION\CustomTags\SNN.cfm  Custom Tag

The error occurred while processing an element with a general
identifier of (CF_SNN), occupying document position (3:1) to (6:2) in
the template file D:\websites\Mfrc\snn\efmpac\index.cfm.
___
Is there a setting I'm missing? I'm running CF Version 4, 5, 1, SP2 

Thanks for your response,
Jamie
>
>However, if you've got multiple files "ct1.cfm" in multiple subdirectories
>of \cfusion\customtags\, you'll need to use CFMODULE to execute the specific
>one you want:
>
>
>
>Note the dot syntax - the above name would correspond to
>\cfusion\customtags\site1\ct1.cfm.
>
>If you want to call custom tags in directories either relative from the
>current location of the calling page, or mapped in the CF Administrator, you
>can use the TEMPLATE attribute of CFMODULE:
>
>
>
>
>
>Dave Watts, CTO, Fig Leaf Software
>http://www.figleaf.com/
>voice: (202) 797-5496
>fax: (202) 797-5444
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Subdirectories in CustomTags directory?

2001-03-30 Thread Hayes, David

You can put them in subdirectories, but I believe if you move an existing
custom tag from it's current path, CF won't find it until you restart.

Try creating a new custom tag in a subdirectory and calling it.

-Original Message-
From: Jamie Jackson [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 30, 2001 8:31 AM
To: CF-Talk
Subject: Subdirectories in CustomTags directory?


Hello,

Is there a way to call a custom tag that's in a subdirectory of ...
\CFUSION\CustomTags ? 

In other words, I want to organize some custom tags into
subdirectories:
\CFUSION\CustomTags\Site1\CT1.cfm (+ CT1a.cfm , CT1b,cfm, ...)
\CFUSION\CustomTags\Site2\CT2.cfm (+ CT2a.cfm, CT2b.cfm, ...)

I have tried this, but apparently, CF won't look in subdirectories of
the "CustomTags" directory. Is there a way to get CF to look in them?
Alternatively, is there another way to manage custom tags?

Thanks,
Jamie
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Subdirectories in CustomTags directory?

2001-03-30 Thread Jamie Jackson

Can't bring the server right now to verify it, but that would explain
it.

Thanks,
Jamie

 On Fri, 30 Mar 2001 09:36:03 -0600, in cf-talk you wrote:

>You can put them in subdirectories, but I believe if you move an existing
>custom tag from it's current path, CF won't find it until you restart.
>
>Try creating a new custom tag in a subdirectory and calling it.
>
>-Original Message-
>From: Jamie Jackson [mailto:[EMAIL PROTECTED]]
>Sent: Friday, March 30, 2001 8:31 AM
>To: CF-Talk
>Subject: Subdirectories in CustomTags directory?
>
>
>Hello,
>
>Is there a way to call a custom tag that's in a subdirectory of ...
>\CFUSION\CustomTags ? 
>
>In other words, I want to organize some custom tags into
>subdirectories:
>\CFUSION\CustomTags\Site1\CT1.cfm (+ CT1a.cfm , CT1b,cfm, ...)
>\CFUSION\CustomTags\Site2\CT2.cfm (+ CT2a.cfm, CT2b.cfm, ...)
>
>I have tried this, but apparently, CF won't look in subdirectories of
>the "CustomTags" directory. Is there a way to get CF to look in them?
>Alternatively, is there another way to manage custom tags?
>
>Thanks,
>Jamie
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Subdirectories in CustomTags directory?

2001-03-30 Thread Bryan LaPlante

If you are not in a shared environment you can double check to see that the
key's string value named CFMLTagSearchPath at
"HKEY_LOCAL_MACHINE\SOFTWARE\Allaire\ColdFusion\CurrentVersion\CustomTags"
in the registry is pointing to the directory where you are running your
custom tags from.

Otherwise your tag should run.

- Original Message -
From: "Jamie Jackson" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, March 30, 2001 9:23 AM
Subject: Re: Subdirectories in CustomTags directory?


> On Fri, 30 Mar 2001 09:42:25 -0500, Dave Watts <[EMAIL PROTECTED]>
> wrote:
>
> >If you've got a file "ct1.cfm" in \cfusion\customtags\site1\, and nowhere
> >else, this syntax should work:
> >
> >
>
> Yeah, this is what I tried before, and I got an error saying CF
> couldn't find the template. (Custom tag location:
> c:\CFUSION\CustomTags\SNN\SNN.cfm)
> ___
> Error Diagnostic Information
> Cannot open CFML file
>
> The requested file "C:\CFUSION\CustomTags\SNN.cfm" cannot be found.
>
> The specific sequence of files included or processed is:
> D:\WEBSITES\MFRC\SNN\EFMPAC\INDEX.CFM
>   C:\CFUSION\CustomTags\SNN.cfm  Custom Tag
>
> The error occurred while processing an element with a general
> identifier of (CF_SNN), occupying document position (3:1) to (6:2) in
> the template file D:\websites\Mfrc\snn\efmpac\index.cfm.
> ___
> Is there a setting I'm missing? I'm running CF Version 4, 5, 1, SP2
>
> Thanks for your response,
> Jamie
> >
> >However, if you've got multiple files "ct1.cfm" in multiple
subdirectories
> >of \cfusion\customtags\, you'll need to use CFMODULE to execute the
specific
> >one you want:
> >
> >
> >
> >Note the dot syntax - the above name would correspond to
> >\cfusion\customtags\site1\ct1.cfm.
> >
> >If you want to call custom tags in directories either relative from the
> >current location of the calling page, or mapped in the CF Administrator,
you
> >can use the TEMPLATE attribute of CFMODULE:
> >
> >
> >
> >
> >
> >Dave Watts, CTO, Fig Leaf Software
> >http://www.figleaf.com/
> >voice: (202) 797-5496
> >fax: (202) 797-5444
> >
> >
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Subdirectories in CustomTags directory?

2001-03-31 Thread Andrew Scott

Coldfusion will use sub directories under the customtags directory, the
problem is if I see what you doing correctly is having the same name in some
cases. You can't have 2 tags named the same as the one that was found first
will be called...



-Original Message-
From: Jamie Jackson [mailto:[EMAIL PROTECTED]]
Sent: Saturday, 31 March 2001 12:31 AM
To: CF-Talk
Subject: Subdirectories in CustomTags directory?


Hello,

Is there a way to call a custom tag that's in a subdirectory of ...
\CFUSION\CustomTags ?

In other words, I want to organize some custom tags into
subdirectories:
\CFUSION\CustomTags\Site1\CT1.cfm (+ CT1a.cfm , CT1b,cfm, ...)
\CFUSION\CustomTags\Site2\CT2.cfm (+ CT2a.cfm, CT2b.cfm, ...)

I have tried this, but apparently, CF won't look in subdirectories of
the "CustomTags" directory. Is there a way to get CF to look in them?
Alternatively, is there another way to manage custom tags?

Thanks,
Jamie
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists