<div dir="ltr">Steve,<br><br>Do NOT feel stupid. We've all been there and continue to be there in many ways.<br><br>It's way more efficient in use of the world's resources (which includes your brain power) for you to ask and get quick help -- it took me three minutes to write that email, than for you to bang your head, potentially for hours. People have helped me so many times and I'm sure you will help others -- or already have. No knowledge in Drupal is "comprehensive" -- you don't have to be a "ninja" or anything special to answer a question that you know the answer to.<br>
<br>Regarding your situation. Congratulations on figuring it out.<br><br>Indeed, no need to use the Drupal l() function.<br><br>Regarding the href-- there are different opinions on this, and sometimes it depends on whether you have a multi-site or not. But my strong preference for any single installation site is for all href's to pages inside the site to be "root relative." All references should start with a forward slash after the first quotes. In this case I would no need to provide any specific page path since it is the default home page. Here is how I would do the href: <br>
<br><a href="/"><br><br>best,<br><br>Shai<br><br><div class="gmail_quote">On Mon, Jul 21, 2008 at 10:42 AM, Steve Hays <<a href="mailto:hays@ohio.edu">hays@ohio.edu</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="">Shai,<div><br></div><div><br></div><div>I did not edit the page.tpl. Instead, I disabled the title and slogan in the theme configuration. Then in .css I replaced the header background image with my new image. </div>
<div><br></div><div>The result is that the HTML output of the header on all pages is blank <div id = "header"> </div></div><div><br></div><div>What you said, though, enabled me to figure it out. I simply needed to set the a href statement around the whole header div, and it worked. </div>
<div><br></div><div>By the way, I simply set it as <a href = "home">, which works on local host. I hope this won't cause problems after upload? I.e., I don't need to use the Drupal l() function to maintain proper internal links?</div>
<div><br></div><div>Thanks for the pointer. Now that I see it, I feel pretty stupid for needing to bother people with this.</div><div><br></div><div>Steve</div><div><br></div><div><br><div><div><div></div><div class="Wj3C7c">
<div>On Jul 21, 2008, at 10:16 AM, Shai Gluskin wrote:</div><br></div></div><blockquote type="cite"><div><div></div><div class="Wj3C7c"><div dir="ltr">Hi Steve,<br><br>Sounds like you must have edited the page.tpl.page for the theme you are using in order to get the header image you wanted. Is that correct? That's where the html goes as well.<br>
<br>Why don't you post that snippet of the code and then I or someone can post back with the simple snippet you'll need to get that to be a hyperlink.<br> <br>But you could try on your own as well --, just make sure that the php part is "off" near where you have the header image, and put in the html. <?php turns php on and ?> turns it off. Html happily goes outside of those tags.<br>
<br>Shai<br><br>So then you just go inside the theme folder for the theme you are using and go to page.<br><br><div class="gmail_quote">On Mon, Jul 21, 2008 at 10:05 AM, Steve Hays <<a href="mailto:hays@ohio.edu" target="_blank">hays@ohio.edu</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I have included the Site Title and Slogan in a header background image<br> that occupies the header of my site. Can someone please tell me how<br>
to code (and where to put it) a link so that a click anywhere in the<br> header takes the user to the front page? I would have no problem with<br> this if it were simple HTML, but the compartmentalized PhP structure<br>
of Drupal has me pretty confused.<br> <br> Thanks in advance,<br> <br> Steve Hays<br> Classics<br> Ohio University<br> <font color="#888888"><br> --<br> [ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</font></blockquote></div><br></div></div></div> -- <br><div class="Ih2E3d">[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]</div></blockquote></div><br></div></div>
<br>--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br></blockquote></div><br></div>