Get root taxonomy name in drupal view -


I am using Drupal 6 and have a view with an area containing the classification name.

But I want to get the root classification name. How can I do this?

Thanks in advance.

OK, I did not find any way to do it purely through the paragon view administration, But you can create a template file for the visual field to do this. It seems as if you want to change the name of the word with the original name ...

If you can make that area the classification word id instead of the name (TID), you can create a template for it Set the name for the tpl file below the field ( Basic Settings-> Themes ) and add this code:

    

This will replace the word id and instead will display the name of the root word.

If you are stuck in using the name, you can always put a database query to convert the name to the word id to use with the template code.

Comments