How to: Display topic category value on a page?

How do I display the current category name of the topic on a page?


  • Topic Tree
    • Category
      • Topic (Node)

From this scheme I know how to display the value of the Topic. Like so

<?php print $c->getAttribute('topic', 'display'); ?>

But one up, the Category is a mistery to me.