Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Ok i tought this would be a breeze, but it's not... I'm trying to call the selected terms by the user. So i tough user_terms_view_profile_separated($user, 5);
would do it... but no.
What does one need to call the terms, in a node template or any other place.
Comments
Comment #1
Michsk CreditAttribution: Michsk commentedhttp://img708.imageshack.us/img708/8770/78852553.png
Comment #2
joachim CreditAttribution: joachim commented$vids needs to be an array.
Also, these functions are all specific to user profile output, so they operate by adding FormAPI-style arrays to the $account object -- look in user_terms_view_profile_item() to see what is going on.
You could try rendering that yourself, but simpler might be to find whatever taxonomy module function does the node terms (maybe its hook_links?) and feed that the list of terms you have from the $user object.