Or if you don't have access to the cf administrator to create a mapping, there's a function on cflib (2 of them I think actually) that will generate a relative path to a specified file, so you can use that function to generate paths for custom tags or cfincludes.
Here's mine (getRelative()): http://www.cflib.org/udf.cfm?ID=837 Which I renamed "getPathTo()" in my framework because the original function name wasn't descriptive enough. and here's the other (relativeFilePath()): http://www.cflib.org/udf.cfm?ID=841 What I didn't like about this one personally was that it handled the file paths one character at a time instead of one directory at a time, which could cause problems if you had two similarly named directories or somehow had a combination of forward-and-back slashes. /myfiles/ /myfiles_x/ /myfiles_y/ If you were trying to get a path from something in /myfiles/ to something in /myfiles_x/ or vice versa it might cause a problem. I hadn't tested it, but it looked to me like that might be an issue. > reference it from a cfmapping, > cfmodule template="/cfmappingname/blah/blah/tag.cfm" > john. > On 5/23/05, dave <[EMAIL PROTECTED]> wrote: >> i wish but at the moment i have a work around >> >> ~Dave the disruptor~ >> >> ---------------------------------------- >> From: "James Holmes" <[EMAIL PROTECTED]> >> Sent: Monday, May 23, 2005 12:01 AM >> To: CF-Talk <[email protected]> >> Subject: RE: global module call >> >> A CF custom tag path would do the trick if it's a custom >> tag. >> >> -----Original Message----- >> From: dave [mailto:[EMAIL PROTECTED] >> Sent: Monday, 23 May 2005 11:48 >> To: CF-Talk >> Subject: global module call >> >> is there anyway to make this call a "global" call? >> meaning accessable >> from any page, since you cant put the actual path in/ >> >> ~Dave the disruptor~ s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207426 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

