Consider using one of the following<div><br></div><div>Drupal 6 <a href="http://api.drupal.org/api/drupal/includes--common.inc/function/drupal_set_html_head/6">http://api.drupal.org/api/drupal/includes--common.inc/function/drupal_set_html_head/6</a></div>
<div>Drupal 7 <a href="http://api.drupal.org/api/drupal/includes--common.inc/function/drupal_add_html_head/7">http://api.drupal.org/api/drupal/includes--common.inc/function/drupal_add_html_head/7</a><br clear="all"><div><br>
</div><br><div class="gmail_quote">On Mon, Apr 25, 2011 at 9:54 AM, Bruce Whealton <span dir="ltr">&lt;<a href="mailto:bruce@futurewavedesigns.com">bruce@futurewavedesigns.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="color:black">Thanks, I would not have thought about putting a theme in the header.  Anyway, I didn’t mean to say I am not comfortable editing tpl files.  I haven’t written too many functions to run inside of template.php but I probably could.  I guess I might have sounded ignorant by asking if I should or needed to put the absolute link inside the $header variable, when I could just hard code it before or after the $header variable appears inside the page.tpl.php and it would just appear before or after it.</span></p>
<p class="MsoNormal"><span style="color:black">Thanks,</span></p><p class="MsoNormal"><span style="color:black">Bruce</span></p><p class="MsoNormal"><span style="color:black"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:black">++++++++++++++++++++++++++++++++++++++++++++++++++</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">Bruce Whealton, Owner Future Wave Designs</span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:black">FOAF: <a href="http://whealton.info/BruceWhealton1/foaf.rdf" target="_blank">http://whealton.info/BruceWhealton1/foaf.rdf</a></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">Vcard: <a href="http://whealton.info/BruceWhealton1/brucewhealtonvcard.html" target="_blank">http://whealton.info/BruceWhealton1/brucewhealtonvcard.html</a></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">Web Design and Development <a href="http://FutureWaveDesigns.com" target="_blank">http://FutureWaveDesigns.com</a></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:black"><a href="http://futurewavedesigns.com/wordpress/" target="_blank">http://futurewavedesigns.com/wordpress/</a></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">Web Technology wiki: <a href="http://futurewavedesigns.com/w/" target="_blank"><span style="color:blue">http://futurewavedesigns.com/w/</span></a></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">++++++++++++++++++++++++++++++++++++++++++++++++++</span><span style="font-size:11.0pt;color:black"></span></p><p class="MsoNormal"><span style="color:black"> </span></p>
<p class="MsoNormal"><span style="color:black"> </span></p><p class="MsoNormal"><span style="color:black"> </span></p><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal">
<b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> <a href="mailto:themes-bounces@drupal.org" target="_blank">themes-bounces@drupal.org</a> [mailto:<a href="mailto:themes-bounces@drupal.org" target="_blank">themes-bounces@drupal.org</a>] <b>On Behalf Of </b>Amit Vyas<br>
<b>Sent:</b> Sunday, April 24, 2011 12:04 PM<br><b>To:</b> A list for theme developers<br><b>Subject:</b> Re: [themes] Adding custom link tags to page head</span></p></div><div><div></div><div class="h5"><p class="MsoNormal">
 </p><p class="MsoNormal" style="margin-bottom:12.0pt">If you are not comfortable editing the tpl files, you can go and crate the custom block and show it in to the header. With this it will be added in $header and will be displayed in the area you want.<br>
<br></p><div><p class="MsoNormal">On Sun, Apr 24, 2011 at 9:28 PM, Bruce Whealton &lt;<a href="mailto:bruce@futurewavedesigns.com" target="_blank">bruce@futurewavedesigns.com</a>&gt; wrote:</p><p class="MsoNormal">Hello all,<br>
         I&#39;ve been learning how to code themes including using the .info file and the page.tpl.php and node.tpl.php and the variables that can be set.  So, I want to add a link in the head section of the page, above the body tag.  There is the variable $header that seems to handle all of this.  This is set in the template.php file.  So what is the best practice for hardcoding a link.  I want to link to a foaf file.  So, I&#39;m not sure, should I go into the template.php file and edit the $header variable or can I just add the link tag to the page.tpl.php right after the call to display the variable or maybe right after?<br>
Thanks in advance for any help,<br>Bruce<br><br>Sent from my iPad<br>Future Wave Web Design/Development <a href="tel:919-636-5809" value="+19196365809" target="_blank">919-636-5809</a><br><a href="Http://FutureWaveDesigns.com" target="_blank">Http://FutureWaveDesigns.com</a><br>
Web Technology and Computing Blog:<br><a href="Http://futurewavedesigns.com/wordpress/" target="_blank">Http://futurewavedesigns.com/wordpress/</a><br><br>_______________________________________________<br>themes mailing list<br>
<a href="mailto:themes@drupal.org" target="_blank">themes@drupal.org</a><br><a href="http://lists.drupal.org/mailman/listinfo/themes" target="_blank">http://lists.drupal.org/mailman/listinfo/themes</a></p></div><p class="MsoNormal">
<br><br clear="all"><br>-- <br><span style="font-size:10.0pt">Cheers,<br>Amit Vyas</span><span><br><span style="color:#666666">________________________________________________________________________________</span><br><span style="color:#333333">Email  : </span></span><a href="mailto:vyasamit2007@gmail.com" target="_blank"><span style="color:#333333">vyasamit2007@gmail.com</span></a><span style="color:#333333">               Skype : vyasamit2004<br>
Mobile : <a href="tel:%2B91%20993-040-1490" value="+919930401490" target="_blank">+91 993-040-1490</a>                          Phone : <a href="tel:%2B91-022%20428-884-07" value="+912242888407" target="_blank">+91-022 428-884-07</a> </span></p>
</div></div></div></div><br>_______________________________________________<br>
themes mailing list<br>
<a href="mailto:themes@drupal.org">themes@drupal.org</a><br>
<a href="http://lists.drupal.org/mailman/listinfo/themes" target="_blank">http://lists.drupal.org/mailman/listinfo/themes</a><br>
<br></blockquote></div><br></div>