User Tools

Site Tools


tc:block

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
tc:block [2006/09/18 06:07] fgmtc:block [2020/11/23 17:23] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Taxonomy_context option block ======
  
 +  * TC defines one optional block for each vid
 +  * Currently, considering a vocabulary structure like:
 +
 +<code>
 +  tid1
 +  tid2
 +    tid21
 +    tid22
 +      tid221
 +      tid222
 +    tid23
 +  tid3
 +</code>
 +
 +  * if tid22 is selected as expanded, and if I'm not mistaken, the module will display a block like:
 +
 +<code>
 +  tid1 class="collapsed"
 +  tid2 class="collapsed"
 +    tid21 class="collapsed"
 +    tid22 class="expanded"
 +      tid221 class="collapsed"
 +      tid222 class="collapsed"
 +    node titles filed under tid22, themed using theme('taxonomy_context_nodes')
 +    tid23 class="collapsed"
 +  tid3 class="collapsed"
 +  node titles filed under tid2, themed using theme('taxonomy_context_nodes')
 +</code>
 +
 +The question is: is this correct ? and if not, what should it look like ? Note that this behaviour is themeable using theme_taxonomy_context_children_list