By suydam on
Hey there,
If I'm logged in as the administrator, taxonomy_node_get_terms returns a nice set of taxonomy objects.
If I'm logged in as anything/anyone else (authenticated users and anonymous users alike) I get an empty Array from taxonomy_node_get_terms.
I'm using taxonomy_access.module and thnk that has something to do with it....but I have it opened up nice and wide and still cannot get the data that I need.
Any ideas why I'm seeing what I'm seeing?
Comments
Solved!
Never mind, I figured it out.
Using taxonomy_access.module you need to select "LIST" permissions or the functions mentioned in my post won't return squat.
I'm having the same problem
I'm having the same problem in Drupal 6.
If I add in a print_r in the taxonomy_node_get_terms function it returns the proper terms. But if I call the function in another module, it returns nothing.
I'm not sure about the 'LIST' permissions.