Taxonomy links only work for the first line of links
PierreFWalter - February 24, 2006 - 14:57
| Project: | Taxonomy navigation |
| Version: | HEAD |
| Component: | User interface |
| Category: | bug report |
| Priority: | minor |
| Assigned: | PierreFWalter |
| Status: | postponed (maintainer needs more info) |
Jump to:
Description
As I use many categories and some of the categories with several terms in it, I have blogs where the taxonomy categories show 2 or 3 lines of links at the top of the blog. As you see it here:
http://sirius-c-publishing.com/blog/perfectionism
Unfortunately, only THE FIRST LINE is functional, subsequent lines cannot be clicked, the links are dead.
Is this a known bug? I have tried different setups of the taxonomy module but it did not fix the bug.
Thanks for any help.
Pierre F. Walter
coachlog@elitemail.org

#1
Same problem with me. Follow this issue.
#2
I found the problem in my case. I had read somewhere that they changed templates and the problem went away. I am using bluemarine, so I switched to Freinds Electric and sure enough, the additional lines of links worked fine. I traced the difference to this.
In my themes>bluemarine>node.tpl.php I changed
<?phpprint $terms
?>
to
<?phpif ($terms):
?>
<?phpprint $terms
?>
<?phpendif;
?>
The following is unrelated to the fix above.
I also noticed a similar difference with $links so I made a similar change there, but I haven't had the occasion to test it yet.
Changing from
<?phpif ($links) {
?>
<?phpprint $links
?>
<?php};
?>
to
<?phpif ($links):
?>
<?phpprint $links
?>
<?phpendif;
?>
#3
Sorry I should have put that in code tags. The first example would be
From:
<span class="taxonomy"><?php print $terms?></span>To:
<?php if ($terms): ?><div class="terms"><?php print $terms ?></div>
<?php endif; ?>
The second example would be
From:
<?php if ($links) { ?><div class="links">» <?php print $links?></div><?php }; ?>To:
<?php if ($links): ?><div class="links"><?php print $links ?></div>
<?php endif; ?>
#4
So Pierre, should we mark this as not a problem for Taxonommy navigation but an issue for the the chosen theme based on #2? Marking as minor since we're approaching 1 year on this issue with no resolutions other than a theming comment. I was forced to change the Version value.