Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cfmodule

Status
Not open for further replies.

boatguy

Programmer
Joined
Oct 22, 2001
Messages
153
Location
US
I am having a problem calling a custom tag with cfmodule. Here's the code:
Code:
<cfmodule
	template="terraform"
	formname="newusedboats">
Here's the error:
Code:
Could not find the included template terraform.  
Note: If you wish to use an absolute template path (e.g. TEMPLATE="/mypath/index.cfm") with CFINCLUDE then you must create a mapping for the path using the ColdFusion Administrator. Using relative paths (e.g. TEMPLATE="index.cfm" or TEMPLATE="../index.cfm") does not require the creation of any special mappings. It is therefore recommended that you use relative paths with CFINCLUDE whenever possible.  
  
The error occurred in C:\Inetpub\[URL unfurl="true"]wwwroot\BaldKnob\newadmin\newusedboats.cfm:[/URL] line 188
Called from C:\Inetpub\[URL unfurl="true"]wwwroot\BaldKnob\newadmin\newusedboats.cfm:[/URL] line 182
Called from C:\Inetpub\[URL unfurl="true"]wwwroot\BaldKnob\newadmin\newusedboats.cfm:[/URL] line 1
 
186 : <table width=100% bordercolor="##869AAA" bgcolor="##C1CBD3">
187 : <cfmodule
188 : 	template="terraform"
189 : 	formname="newusedboats">
190 :
The tag terraform.cfm is in the custom tag directory at the root level.
Suggestions?
 
Nevr mind, I was using template= instead of name=...looked at this for an hour before I finally saw it.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top