Would you mind giving a simple example of how you might code this? Ian
-----Original Message----- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 11:00 AM To: CF-Talk Subject: RE: CFC's - Where to put them? Yep, I meant a CF Server mapping. This is handy for CFCs, CTs, and includes. If I know there is _any_ chance I'll be deploying to a shared host, I will always use cfmodule with a mapping instead of cf_. ======================================================================= Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Member of Team Macromedia Email : [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -----Original Message----- > From: Ian Skinner [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2003 12:12 PM > To: CF-Talk > Subject: RE: CFC's - Where to put them? > > > You're referring to a Cold Fusion Server Mapping? That can > maybe doable. Again, it's something that would have to be > done by my host provider, but only once. Much better then > using the Custom Tag directory where I would go to them every > time I made a change. > > Ian > > > -----Original Message----- > From: Raymond Camden [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2003 7:21 AM > To: CF-Talk > Subject: RE: CFC's - Where to put them? > > > You can place them within a folder reachable by a mapping. > I'd suggest using mappings anyway, since it will also help > you call your custom tags on a shared server. > > ============================================================== > ========= > Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc > Member of Team Macromedia > > Email : [EMAIL PROTECTED] > Blog : www.camdenfamily.com/morpheus/blog > Yahoo IM : morpheus > > "My ally is the Force, and a powerful ally it is." - Yoda > > > -----Original Message----- > > From: Ian Skinner [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, March 12, 2003 9:08 AM > > To: CF-Talk > > Subject: CFC's - Where to put them? > > > > > > I have just started a real project using CFC's, and I have > > had some difficulties with where to put them. So I'm turning > > to the knowledgeable group here to full in the gaps in the > > documentation. The best home for a CFC seems to be the > > Custom Tag directory, when I've put them there on my > > development machine, they were accessible everywhere I needed > > them. But, my first project is going to live on a hosted, > > shared server at a web hosting company. I don't have ready > > access to the Custom Tag directory on this box. As an > > alternative, according to my understanding of the > > documentation, a CFC can live in the website root, or any > > directory accessible from it. This works - sort of. If I > > put the CFC in the root, all other CFM files in the root can > > access it, but files in subdirectories of the root can not! > > I actually had to put a copy of the CFC in each folder in > > order for it to be accessible to files in that folder. > > > > This, obviously, is not very desirable. What I would like to > > know, am I missing something here? Is there some way I can > > use, or someplace I can put my CFC file where it is > > accessible by all my files in all my directories of my > > website? Other then the Custom Tag folder, which I already > > know works, but would like to not use, if possible. > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4