I’ve added a new feature to the hostel directory. If you visit a hostel’s page (like the Generator Berlin hostel), it now has a link to all the listed hostels in Berlin.

It took a bit of time to figure out how to split Drupal’s $terms into its parts in the way that I wanted.

To break up taxonomy, you can use:

<?php
foreach($node->taxonomy as $term){
print $term->name.' ';
}
?>

I created custom link text using Drupal’s link function. It’s working great…

Leave a Reply