Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When clicking on site logo, nothing happens. Usually when clicking on the logo it transfers you to the first page of the site. It is quite frustrating when you try something that you intuitively know that should work and it does not.
Any suggestions/template code or something?
Comment | File | Size | Author |
---|---|---|---|
#2 | 415486.patch | 876 bytes | anarcat |
Comments
Comment #1
DarkAthena CreditAttribution: DarkAthena commentedIn your "page.tpl.php" file look for the following:
It should be right around line 18 or so. Right after this paste the following code:
This will cause the default logo to link to your site's home page.
Good luck!
Comment #2
anarcat CreditAttribution: anarcat commentedHere's something similar with in a patch.
Comment #3
DarkAthena CreditAttribution: DarkAthena commentedPatch code looks good with one minor change that was totally my fault at first.
Instead of:
Use:
Sorry about the goof!
Comment #4
anarcat CreditAttribution: anarcat commentedpatch corrected and committed