Closed (fixed)
Project:
Corolla
Version:
7.x-2.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Mar 2012 at 23:46 UTC
Updated:
25 Jun 2014 at 11:45 UTC
Jump to comment: Most recent
I am using the Corolla theme for a Virtual Sites installation and although virtual sites is supposed to adapt the 'home' link attached to the header logo, I am unable to get this to work and it consequently links to the root of the domain, which is unacceptable for my purposes.
I would be quite happy to disable the link attached to the header logo as I will have a 'home' link on the page. I remember doing this with the theme I was using with the Drupal 6 version by altering the page.tpl.php but couldn't find any similar code in the Corolla page.tpl.php and I don't want to break it!
Could anyone please tell me how to disable this link, if it is at all possible?
Thanks in advance.
Comments
Comment #1
Jeff Burnz commentedSo you just want to print the logo, but without the link, is that right?
Find these lines of code in the page.tpl.php file:
And replace them with these:
Comment #2
hecate commentedExactly what I wanted.
Thanks for providing the solution so quickly Jeff.
Comment #3
crutch commentedupdate method for d7
sometimes there may be a separate but related site where the logo needs to link back to the main site
Comment #4
crutch commentedd7 adaptivetheme/at_core/inc/preprocess.inc
~line 143