Hi Stacey,

CFINCLUDEs are relative to the calling template.

You can get around this by using absolute references, like <CFINCLUDE
TEMPLATE="/apps/blocks/out_layout.cfm">.

That will work from any location in your tree.  Unfortunately, using
absolute references has its own drawbacks, because the absolute location has
to be CF-mapped.  In most cases, it's enough if you have a mapping for "/",
but that is not trivial on shared servers.

Wasn't that helpful ? ;-)

LeeBB

-----Original Message-----
From: Stacy Young [mailto:[EMAIL PROTECTED]]


Why is it that for my circuit apps to work properly I have to set the
app_layout include to "../app_layout.cfm" as opposed to "app_layout.cfm"
like the home circuit? I want the header/footer files to come from the home
circuit. :\


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to