Module implementation: adding themeability

Previously released versions of the module merged walking the taxonomy tree with rendering for most situations, leaving little room for themeability.

taxonomy_context_show_children

This has been split in three parts:

  • Data is obtained in the new _taxonomy_context_build_tree($context→tid, $base)
  • Rendering is performed in the new theme_taxonomy_context_children_list($tid, $base = FALSE)
  • A deprecation warning is inserted in the obsolete taxonomy_context_show_children

taxonomy_context_show_nodes

This has been split in three parts:

  • Data is obtained in taxonomy_context_nodes($tid)
  • Rendering is performed in the new theme_taxonomy_context_nodes()
  • A deprecation warning is inserted in the obsolete taxonomy_context_show_nodes
tc/themeability.txt · Last modified: 2007/12/22 15:45 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki