Ditto...I use relative paths always.  I've built a handy tag to build the relative 
path back to the
root of the site from anby directory.  I just call the tag in the application.cfm file 
in whatever
directory I'm working in.  That gives me a "RelativePath" var to use in my 
includes...works like a
charm.

Bryan Stevenson
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
p. 250.920.8830
e. [EMAIL PROTECTED]
---------------------------------------------------------
Macromedia Associate Partner
www.macromedia.com

----- Original Message -----
From: "Gyrus" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, January 16, 2002 10:21 AM
Subject: Re: Multiple sites...


> > When you're trying to cfinclude
> > templates, it won't include from the proper directory, without creating
> > mappings in the ColdFusion administrator, and then using a variable to
> store
> > that mapping.
>
> Never had this problem, I always use relative paths, e.g.
> <cfinclude template="../../myFile.cfm"> - would this work
> for you?
>
> - Gyrus
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> - [EMAIL PROTECTED]
> work: http://www.tengai.co.uk
> play: http://www.norlonto.net
> - PGP key available
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
______________________________________________________________________
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to