Closed (fixed)
Project:
Tao
Version:
6.x-3.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Nov 2010 at 23:44 UTC
Updated:
5 May 2021 at 08:08 UTC
Jump to comment: Most recent
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 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 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 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 commentedHi,
I added the html TRUE option in my subtheme template.php file.
Its working for me.
Comment #5
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 commentedHi @phiscock,
By changing variable in my subtheme like you have done works for me.
Thanks
Comment #8
kunal_kapoor commentedComment #9
kunal_kapoor commented