Thread: Cold Fusion
View Single Post
  #5 (permalink)  
Old 03-09-2005, 07:18 PM
JSeverson JSeverson is offline
WebProWorld Member
 
Join Date: Feb 2004
Location: New York
Posts: 82
JSeverson RepRank 0
Default

cooperm,
It is possible to place ColdFusion scripts in a seperate file and call the scripts in another page. You would use the <cfinclude> command to include the file. Here is an example:

<cfinclude template="directory_name/filename.ext">

I'm rusty at ColdFusion so I'm not sure what most of the code you provided means. It looks like the first few lines are outputting an image and a link while the 2nd to last line is importing an include file. The first few lines are outputted as standard html and I assume the header.cfm that is being include does as well.

To my knowledge, search engines don't pick up ASP, ColdFusion or PHP code. If you view the source on your page, you'll notice that there is no ColdFusion code showing, only HTML. This, essentially, is what a search engine will see.

The only problem you have to worry about is ColdFusion outputting the HTML code incorrectly and that would be the programmer's fault, not the ColdFusion language.
__________________
Jeff T. Severson
J.T.S. Design, Inc.
Reply With Quote