Okay, tring to make something cool happen...

I want to know if there is a way to display the info from one list of taxos vs the other.

[Title]

[Path]

[Topic List One:]

[Topic List Two:]

[Body]

I want to list in the $terms only the ones in list one or list two, but not both. So is there something other than $terms I could be using?

Thanks!

Comments

robertdouglass’s picture

You want to group the taxonomy links by vocabulary? I'm not sure I understand your goal yet.

- Robert Douglass

-----
My Drupal book: Building Online Communities with Drupal, phpBB and WordPress

ioo’s picture

but not the other...

jasonwhat’s picture

Want every taxonomy showing up publicly. One vocab may have terms that are internal for admin only and shouldn't show publicly. The taxonomy access module could help with this if you want to go that route, or I'm sure there is some sort of php if statement that you could use instead of the traditional $terms variable to restrict it. I'm not a php wiz though.

ioo’s picture

To display an image on the post...

<img="http://www.site.com/<? php $SOMETHING; ?>.gif >

ioo’s picture

Anyone?

robertdouglass’s picture

Your best bet is to start becoming familiar with the functions in the taxonomy module. Many of them can be called directly and are helpful for achieving special goals. This one is of particular interest to you:

function taxonomy_node_get_terms_by_vocabulary($nid, $vid) {

You give it a node id and a vocabulary id and you get a list of the terms assigned to that node within that vocabulary.

- Robert Douglass

-----
My Drupal book: Building Online Communities with Drupal, phpBB and WordPress

ioo’s picture

Thank you Robert, I will not go and see if I can distroy the world!

Sweet!

BTW, Just bought your book on B&N.