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><br><div class="gmail_quote">
On Sun, Apr 24, 2011 at 9:28 PM, Bruce Whealton <span dir="ltr"><<a href="mailto:bruce@futurewavedesigns.com">bruce@futurewavedesigns.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello all,<br>
I'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'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 919-636-5809<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">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>
</blockquote></div><br><br clear="all"><br>-- <br><font size="2"><span style="font-family:tahoma,sans-serif">Cheers,</span><br style="font-family:tahoma,sans-serif"><span style="font-family:tahoma,sans-serif">Amit Vyas</span></font><br style="font-family:tahoma,sans-serif">
<span style="font-family:tahoma,sans-serif;color:rgb(102, 102, 102)">____________________________________</span><span style="font-family:tahoma,sans-serif;color:rgb(102, 102, 102)">____________________________</span><span style="font-family:tahoma,sans-serif;color:rgb(102, 102, 102)">____________</span><span style="font-family:tahoma,sans-serif;color:rgb(102, 102, 102)">____</span><br style="font-family:tahoma,sans-serif">
<span style="font-family:tahoma,sans-serif;color:rgb(51, 51, 51)">Email : </span><a style="font-family:tahoma,sans-serif;color:rgb(51, 51, 51)" href="mailto:vyasamit2007@gmail.com" target="_blank">vyasamit2007@gmail.com</a><span style="font-family:tahoma,sans-serif;color:rgb(51, 51, 51)"> Skype : vyasamit2004</span><br style="font-family:tahoma,sans-serif;color:rgb(51, 51, 51)">
<span style="font-family:tahoma,sans-serif;color:rgb(51, 51, 51)">Mobile : +91 993-040-1490 Phone : +91-022 428-884-07 </span><br>