> in my Application.cfm file, I have:
> <cfset request.template_blocks = 
> "http://hhp.umd.edu/empower/template_blocks/";>
> 
> On that page, I have the following code:
> <cfoutput>
>      <cfinclude template="#request.template_blocks#banner.cfm">
>      <cfinclude template="#request.template_blocks#nav_none.cfm">
> </cfoutput>
> 
> I receive the error:
> Could not find the included template 
> http://hhp.umd.edu/empower/template_blocks/banner.cfm.
> But if I go to the url that it could not find, I find the file fine.

CFINCLUDE only works with file system paths (full path or relative, or with
CF mappings).  It does not use URLs.  If you must use a URL, use CFHTTP to
pull it down instead.


-----------------------------------
Justin D. Scott
Vice President
Sceiron Interactive, Inc.
www.sceiron.com

[EMAIL PROTECTED]
941.378.5341 - office
941.320.2402 - mobile
941.870.5626 - facsimile


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

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