Iâm having trouble with the best way to setup my file structure for using CFCs.
This is how Iâve got it setup right now (directories are in all caps):
- SITEROOT
- COM
- SITE
- myCFC.cfc
- pageToCallCFC.cfm
- CONTENT
- anotherPageToCallCFC.cfm
The way it is setup now, "pageToCallCFC.cfm" can find the "myCFC.cfc" file without any
problem but if I copy its contents into "anotherPageToCallCFC.cfm" I get an error
message saying that it could not find the component. Is there a way to set things up
so pages not in the root folder can find my CFC's? I know I can set a Custom Tag Path
to point at "SITEROOT" and then the CFCs are found no problem but I would like to use
two versions of the same package of CFCs on two different sites running on the same
server so that won't work. Any ideas?
Stephen
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
in the message of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).
An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]