On 6/6/06, Ian Skinner <[EMAIL PROTECTED]> wrote: > > Well in theory the code you had should have worked just fine. The value of > the page argument will typically be /foo/zoo.cfm, and cfinclude shoukd have > worked just fine. > > That seems to be the issue because of the leading slash in /foo/zoo.cfm > the path is relative. <cfInclude> does not allow the use of relative paths > without a mapping. Am I going to have to put a mapping for every > application to use the onRequest method of Appliation.cfc?
Well I'm a little burnt, so the above doesn't quite make sense. Strike that, reverse it.. ;-) But there is a nifty trick to get an absolute path from any relative path, using like getBaseTemplatePath() or whatnot. Someone posted a rather nice snippit not too long ago, but I'm too gone to go search, even though it's probably a hundred keystrokes total... you never know tho, come across some other post that's interesting, next thing you know it's 5AM and you never did find whatever that was you were looking for originally. :-) Um... catcha on the flip! :D ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:242759 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

