Quantcast
Channel: Adobe Community : Unanswered Discussions - ColdFusion
Viewing all articles
Browse latest Browse all 5794

How to use cfhtmlhead tag?

$
0
0

I found this documentation, Adobe ColdFusion 9 * cfhtmlhead , but how do I use it in my page? Where do the <cfhtmlhead text="#sHeader#"> tag go on the page?

 

Okay, so this is what I have.

 

<cfsavecontent variable="sHeader">  <cfoutput>  <title>#title# | My Company Site Claire</title>  <meta name="keywords" content="#tags#"  />  <meta property="og:locale" content="en_US"/>  <meta property="og:type" content="website"/>  <meta property="og:title" content="#cfData.data[i].name#"/>  <meta property="og:url" content="#canonical#" />  <meta property="og:site_name" content="My Company website"/>  <meta name="twitter:site" content="@MySite">  <meta name="twitter:title" content="#cfData.data[i].name#">  <meta name="twitter:creator" content="@MySite">  <link rel="canonical" href="#canonical#" />  </cfoutput></cfsavecontent><cfhtmlhead text="#sHeader#">

 

Okay, so now that I have the "text" in the cfhtmlhead tag, do I have to do anything else for it to show inside of the header section of the page?


Viewing all articles
Browse latest Browse all 5794

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>