Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
If you view the source of the page you will see the $site_name gets printed as:
<a class="active" href="/"><a href="/" class="active">groups.devsites.com</a></a>
Instead just:
<a class="active" href="/">groups.devsites.com</a>
Hope that helps
Comments
Comment #1
gmclelland CreditAttribution: gmclelland commentedWhen I take out line 177 in template.php
$vars['site_name'] = l($vars['site_name']);
Everything seems to work correctly.
I assume that line is in there so that the $site_name output can be translated?
Comment #2
StudioARE CreditAttribution: StudioARE commentedStill an issue (with D7 too).People looking for solution can delete line 129 in template.php
tao-7.x-3.0-beta4
Actually... make sure not to have the code in your subtheme... logically thinking.
Comment #3
phiscock CreditAttribution: phiscock commentedIs there a way to override just this line (or assign the version of the site_name variable from before this line is implemented, without the link attributes, to another variable) in the sub-theme's template.php file, rather than removing it from the master Tao theme template.php? That way I would not have to redo the amendment any time an update for the Tao theme was released.
Thank you for your help.
Comment #4
Zsuffa Dávid CreditAttribution: Zsuffa Dávid commentedHi,
I added the html TRUE option in my subtheme template.php file.
Its working for me.
Comment #5
phiscock CreditAttribution: phiscock commentedThat solution didn't work for me but I was able to reset the variable in the subtheme's template.php with:
Hope this helps others.
Paul
Comment #6
BhumikaVarshney CreditAttribution: BhumikaVarshney as a volunteer and at OpenSense Labs commentedHi @phiscock,
By changing variable in my subtheme like you have done works for me.
Thanks
Comment #8
kunalkapoor CreditAttribution: kunalkapoor as a volunteer and at OpenSense Labs commentedComment #9
kunalkapoor CreditAttribution: kunalkapoor as a volunteer and at OpenSense Labs commented