Shai,
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.
The result is that the HTML output of the header on all pages is blank <div id = "header"> </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.
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?
Thanks for the pointer. Now that I see it, I feel pretty stupid for needing to bother people with this.
Steve
On Jul 21, 2008, at 10:16 AM, Shai Gluskin wrote:
Hi Steve,
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.
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.
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.
Shai
So then you just go inside the theme folder for the theme you are using and go to page.
On Mon, Jul 21, 2008 at 10:05 AM, Steve Hays <
hays@ohio.edu> wrote:
I have included the Site Title and Slogan in a header background image
that occupies the header of my site. Can someone please tell me how
to code (and where to put it) a link so that a click anywhere in the
header takes the user to the front page? I would have no problem with
this if it were simple HTML, but the compartmentalized PhP structure
of Drupal has me pretty confused.
Thanks in advance,
Steve Hays
Classics
Ohio University
--
[ Drupal support list | http://lists.drupal.org/ ]
--
[ Drupal support list | http://lists.drupal.org/ ]