[themes] What controls the appearance of taxonomy?
Jody Cleveland
Cleveland at winnefox.org
Thu Sep 21 15:39:22 UTC 2006
Hello,
> In a phptemplate theme, the position of the default variable $terms
> determines where the terms will actually appear. $terms is
> shorthand for
> "pipe-delimited set of all terms assigned to this node". If
> you'd like
> an entirely different display, you don't HAVE to use $terms.
> $terms is
> just shorthand for:
>
> theme('links', $taxonomy, array('class' => 'links inline')),
>
> but you have access to the entire raw data of a taxonomy, to
> display it
> however you'd like (presuming you know the PHP to do so). You can see
> this raw gobbledygook data by adding the following to your
> node.tpl.php:
>
> <?php print_r($taxonomy); ?>
I looked at the node.tpl.php for both bluemarine, and multiflex. But,
they both say exactly the same thing:
<span class="taxonomy"><?php print $terms?></span>
If they both have the same thing in node.tpl.php, why would they display
different things? Ideally, I'd like multiflex to display the taxonomy
the same as bluemarine does.
- jody
More information about the themes
mailing list