[themes] How to print a Taxonomy term hyperlink?
Elijah Osborne
kutakizukari at gmail.com
Fri Feb 17 05:37:46 UTC 2012
On 2/16/2012 10:46 PM, Lee Rowlands wrote:
> $term = $node->taxonomy[2];
> print l($term->name, 'taxonomy/term/'. $term->tid);
>
>
> On Fri, Feb 17, 2012 at 12:59 PM, Elijah Osborne
> <kutakizukari at gmail.com <mailto:kutakizukari at gmail.com>> wrote:
>
> I can't figure out how to print one of the Taxonomy term links so
> it is hyper and not just a string of text.
>
> I can get the string of text printed by using:
>
> <?php print $node->taxonomy[2]->name; ?> View attachment
> "01Capture.PNG" to see how I got the information via dev module.
>
> Using the Themer Module and clicking one of the Taxonomy term
> links produces different information. See attachment
> "02Capture.PNG" for the different information.
>
> With the different information I cannot figure out how to print
> just one of the selected hyperlinks.
>
> Can someone help me out with the correct information on how to
> print the Taxonomy term hyperlinks? Thank you!
>
> --
> http://about.me/elijahosborne
>
>
> _______________________________________________
> themes mailing list
> themes at drupal.org <mailto:themes at drupal.org>
> http://lists.drupal.org/mailman/listinfo/themes
>
>
>
>
> _______________________________________________
> themes mailing list
> themes at drupal.org
> http://lists.drupal.org/mailman/listinfo/themes
That did the trick, thank you very much!
--
http://about.me/elijahosborne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/themes/attachments/20120217/6aa5e9cd/attachment.html
More information about the themes
mailing list