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)
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

jarea - September 14, 2006 - 06:35

Same problem with me. Follow this issue.

#2

jarea - September 14, 2006 - 16:05

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

<?php
print $terms
?>

to

<?php
if ($terms):
?>

<?php
print $terms
?>

<?php
endif;
?>

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

<?php
if ($links) {
?>
»
<?php
print $links
?>
<?php
};
?>

to

<?php
if ($links):
?>

<?php
print $links
?>

<?php
endif;
?>

#3

jarea - September 14, 2006 - 16:08

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">&raquo; <?php print $links?></div><?php }; ?>

To:

   <?php if ($links): ?>
    <div class="links"><?php print $links ?></div>
  <?php endif; ?>

#4

earnie - February 11, 2007 - 18:21
Version:» HEAD
Priority:critical» minor
Status:active» postponed (maintainer needs more info)

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.

 
 

Drupal is a registered trademark of Dries Buytaert.