Вывод списка нод определенного термина таксономии

    $result = db_query("SELECT {node}.title, {node}.nid FROM {node} INNER JOIN {term_node} ON {node}.nid = {term_node}.nid WHERE {term_node}.tid = %d ORDER by {node}.title ASC LIMIT %d, %d", 148, 0, 50);

    while ($node = db_fetch_object($result)) {

        $nodes[] = l($node->title, 'node/'.$node->nid);

    }

    foreach ($nodes as $list) {

        print $list.'
';

    }

read more