Taxonomies

satya - Friday, July 15, 2011 10:00:25 AM

structure


Vocabulary(*)
  Term(*)

satya - Friday, July 15, 2011 10:00:52 AM

terms can have other terms as parents

terms can have other terms as parents

satya - Friday, July 15, 2011 10:01:54 AM

path to taxonomies


login
structure
taxonomy
  vocabularies
     terms
       relations(ex: parent, weight)

satya - Friday, July 15, 2011 10:07:19 AM

You can add fields to a vocabulary

So a vocabulary looks much like a content type. or at least has features of a content type.

satya - Friday, July 15, 2011 10:08:09 AM

A term is defined in the context of a vocabulary

Does it mean it has to have fields defined by the vocabulary?

satya - Friday, July 15, 2011 10:08:42 AM

Can terms be parents across vocabularies?

Can terms be parents across vocabularies?

Search for: Can terms be parents across vocabularies?

satya - Friday, July 15, 2011 1:40:15 PM

drupal taxonomy functions api

drupal taxonomy functions api

Search for: drupal taxonomy functions api

satya - Friday, July 15, 2011 1:42:39 PM

drupal 7 taxonomy api

drupal 7 taxonomy api

satya - Friday, July 15, 2011 1:43:51 PM

How can I get the terms in a taxonomy vocabulary using a taxonomy function in drupal

How can I get the terms in a taxonomy vocabulary using a taxonomy function in drupal

Search for: How can I get the terms in a taxonomy vocabulary using a taxonomy function in drupal

satya - Friday, July 15, 2011 1:47:25 PM

list terms in a vocabulary taxonomy_get_tree function

list terms in a vocabulary taxonomy_get_tree function

Search for: list terms in a vocabulary taxonomy_get_tree function

satya - Friday, July 15, 2011 1:47:44 PM

taxonomy_get_tree() function reference

taxonomy_get_tree() function reference

satya - Friday, July 15, 2011 1:51:55 PM

drupal taxonomy table definitions

drupal taxonomy table definitions

Search for: drupal taxonomy table definitions

satya - Friday, July 15, 2011 2:41:58 PM

You can do this if you have a dev module enabled


Go to dev block
execute php code
type in

$vocabularies = taxonomy_vocabulary_get_names();
dpm($vocabularies);

You can see all the vocabularies listed. You can navigate through the printed array to discover properties. For a given vocab name you can find

name
machine name
vid

satya - Friday, July 15, 2011 2:43:48 PM

A sample php template


<table>     
<tr>              
  <td><?php echo t('To');?>:</td>              
  <td><?php echo $variable1;?></td>            
</tr>
<tr>
<td><?php echo render($form);?></td>
<td>.....</td>
</tr>
</table>