Hi

Assuming the custom tag is only in the customtags directory, that seems
to be correct - 

Also <cfimport taglib="CustomTags" prefix="ct" >

Will not work either...

KOla

-----Original Message-----
From: Aidan Whitehall [mailto:[EMAIL PROTECTED] 
Sent: 16 June 2004 07:43
To: [EMAIL PROTECTED]
Subject: [ cf-dev ] CustomTags


Not having used the CustomTags directory in a gazillion years, I've done
a couple of quick tests and was surprised with the results -- can anyone
please confirm the following?

With the "C:\CFusionMX\CustomTags" directory as the only entry in the CF
Administrator's Custom Tag Paths list:

 you can call a file in the Custom Tags folder with this syntax
<CF_TheFileNameHere...>

 you can't call it with
 <cfinclude template="TheFileNameHere.cfm"...>

 you also can't call it with
 <cfmodule template="TheFileNameHere.cfm"...>

 you can't do
 <cfset oX = createObject("component", "TheFileNameHere")>


 If you create a CF Mapping of "CustomTags" that points to that folder,
you can do  <cfmodule template="/CustomTags/TheFileNameHere.cfm"...>

 but can't do
 <cfset oX = createObject("component", "CustomTags.TheFileNameHere")>


Is that about the size of it? Thanks.

-- 
Aidan Whitehall   [EMAIL PROTECTED]
Macromedia ColdFusion Developer
Fairbanks Environmental   +44 (0)1695 51775

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

-- 
These lists are syncronised with the CFDeveloper forum at
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
 
CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF
provided by activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by
proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by
gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]




-- 
These lists are syncronised with the CFDeveloper forum at 
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
 
CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by 
activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]

Reply via email to