getBaseTemplatePath() returns the path of the root template (index.cfm, for example). getCurrentTemplatePath() returns the path of the current template, be it the root template, an included template, a custom tag, or even a CFC. Just for reference, expandPath(relativePath) ALWAYS uses the base template path for it's expansion. If you want it based on the current template, you need to use #getDirectoryFromPath(getCurrentTemplatePath()) & relativePath#
cheers, barneyb On Fri, 14 Jan 2005 14:11:30 -0800, Ian Skinner <[EMAIL PROTECTED]> wrote: > What is the difference between GetBaseTemplatePath() and > GetCurrentTemplatePath()? When I use these, they always seem to return the > same value. > > -------------- > Ian Skinner > Web Programmer > BloodSource -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 8 invites. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Now there’s a better way to fax. eFax makes it possible to use your existing email account to send and receive faxes. Try eFax free. http://www.houseoffusion.com/banners/view.cfm?bannerid=63 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:190540 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

