<?php
$v = views_get_current_view(); //Из аргументов получаем ID текущего термина $term_id = intval($v->args[0]); //Выводим дерево потомков термина $terms = taxonomy_get_children ($term_id);foreach ($terms as $term) { $imag = taxonomy_image_display($term->tid);print l($imag, taxonomy_term_path($term), array('html' => array('html' => 'true')));
} $t = taxonomy_get_term($term_id); ?>
Комментариев нет:
Отправить комментарий