[thelist] CF5: cfmodule template path error

Joshua Olson joshua at waetech.com
Mon Sep 8 12:23:57 CDT 2003


----- Original Message ----- 
From: "Minh Lee Goon" <evolt at goonies.info>
Sent: Monday, September 08, 2003 12:16 PM


> I'm using <cfmodule> to call a header template that's located in the web
> root directory. When I use template="/header.cfm" to call the template,
the
> page says the template cannot be found. When I use
> template="../../header.cfm" instead, the template is called as intended.
>
> I'm using CF5 so I'm hoping that this is fixed in CFMX. Meanwhile, before
we
> upgrade to CFMX, is there a fix for this or am I doing something wrong?
> Thanks.

Minh Lee,

Make sure that you have a virtual path in the CF Admin set up so that /
points to the web root (aka the location of the header.cfm file.

Good luck,

<><><><><><><><><><>
Joshua Olson
Web Application Engineer
WAE Tech Inc.
http://www.waetech.com
706.210.0168




More information about the thelist mailing list