relative paths? Where you have to have an absolute path, you could have a 
var storing teh root pat, say appliction.rootdir.

DK

On 5/3/05, Rick Root <[EMAIL PROTECTED]> wrote:
> 
> I have pretty much consistently used mappings in my applications to
> include things from the document root, regardless of where the file
> being accessed is located. I often do it for UDFs and template files.
> 
> Ie,
> 
> <cfinclude template="/rickroot/udf.cfm"
> 
> or
> 
> <cfinclude template="/rickroot/above.cfm">
> <!--- body content --->
> <cfinclude template="/rickroot/above.cfm">
> 
> What are my options if I choose NOT to use mappings? For example, my
> blog application dynamically creates files in subdirectories, and
> currently includes the root index.cfm using a <cfinclude> tag with the
> mapping.
> 
> The index.cfm will not always be in the document root, but it will
> always be 3 directories ABOVE the specific file in question.
> 
> The index.cfm itself also uses <cfinclude> to include the template
> files, as exampled above.
> 
> Thanks!
> 
> Rick Root
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205385
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

Reply via email to