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:
> >
> ><cf_ct1>
>
> 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:
> >
> ><cfmodule name="site1.ct1">
> >
> >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:
> >
> ><cfmodule template="FileInSameDirectory.cfm">
> ><cfmodule template="../FileInDirectoryOneLevelUp.cfm">
> ><cfmodule template="/FileInDirectoryMappedToSlashInCFAdmin.cfm">
> >
> >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/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to