Tuesday, March 3, 2009

Taxonomy Functions

Avoid queries to display the content which are associated with a particular taxonomy term or vocabulary.
Try Using the taxonomy related functions like ,
1. taxonomy_get_children
-- Find all children of a term ID.
2. taxonomy_get_parents
-- Find all parents of a given term ID.
3. taxonomy_get_parents_all
-- Find all ancestors of a given term ID.
4. taxonomy_get_related
-- Find all term objects related to a given term ID.
5. taxonomy_get_term
-- Return the term object matching a term ID.
6. taxonomy_get_term_by_name
-- Try to map a string to an existing term, as for glossary use.
7. taxonomy_get_tree
-- Create a hierarchical representation of a vocabulary.
8. taxonomy_node_get_terms
-- Find all terms associated with the given node, ordered by vocabulary and term weight.

Customizing the Search form - Drupal

To change the label text and text inside the search box and the text on the submit and changing the Submit button image, you can use the fo...