0

I have a simple two-level taxonomy in my site: parent level is responsible for the "kind of place" (wine bar, restaurant...), and the children terms make more precise disintctions (french, italian etc. for restaurants).

Now, if i display a taxononomy term, only the child appears (only "french", not "Restaurant French").

Is there any way to display both of them? I've found this http://drupal.org/node/1532198 but I am not sure how to use it.

Maybe there's a module that is more universal way, or a module that manages the display of the terms?

1 Answer 1

2

The answer you linked is correct. You need to write .tpl.php file and use provided code in place of default taxonomy renderer. In Drupal nodes belongs only to explicitly selected taxonomy element, not to it's parents. It was the design decision.

1
  • Thanks! I am a little bit puzzled by php coding in drupal. Could you please a provide some more info (possibly a link) that would explain the thing? I know the subject is large, and I am scratching the surface of an extended subject of theming, but that might be a good entry point to some nice new Drupal competences.
    – Dalmaz
    Commented May 16, 2013 at 15:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.