custom tag path ?
what does the error log on the 500 server error say ? [Edited by stevem2k - 10/2/2003 2:54:24 PM] |
Cleared up te server error but not able to include any files...
Anyone know how to include files in ColdFusion through Dreamweaver MX? [Edited by ScoobyWon't - 10/2/2003 5:44:54 PM] |
I've just installed Cold Fusion MX and I'm having difficulty when trying to view files from localhost.
http://localhost/jamanali/index.htm displays. http://localhost/jamanali/test.asp displays the main content but doesn't include my include files (http://localhost/jamanali/includes/header.htm etc). Trying it as a PHP page has the same results. Trying to display a .cfm page just tells me that there is a Internal Server error (#500). Any ideas on where to begin fixing any of the above? |
create a file called moo.cfm then just use <cf_moo> from your other file (both need to be in the same folder unless you play with the template path),this is called a custom tag...
but you also have <cfinclude template="moo.cfm"> or <cffile action = "read" file = "full_path_name" variable = "var_name" charset = "charset_option" > HTH ~Jules |
All times are GMT +1. The time now is 12:46 PM. |
© 2024 MH Sub I, LLC dba Internet Brands