Hi, i am new to Drupal and I have a problem ... now i m using this code to show vocabulary as a list of links.

---------------------
/**
* Lists terms for a specific vocabulary without descriptions.
* Each term links to the corresponding /taxonomy/term/tid listing page.
*/
$vid = 1;
$items = array();

$terms = taxonomy_get_tree($vid, 0, -1, 1);
foreach($terms as $term) {
$items[]= l($term->name, "taxonomy/term/$term->tid");
}
if(count($items)) {
return theme('item_list', $items);
}
--------------------------------

now i need to change the page where currently it shows the node teaser and i need only node title..

please suggest me now wht to do?

Thanks

Comments

xano’s picture

Component: Code » Miscellaneous
Category: task » support
Priority: Critical » Minor
Status: Active » Postponed (maintainer needs more info)

What exactly are you trying to do? Do you want to create a page that lists a vocabulary's terms or do you want to edit node pages?

manuverma’s picture

i want to create pade with vocabolory term name...

xano’s picture

Assigned: Unassigned » xano
Status: Postponed (maintainer needs more info) » Active

Then install Vocabulary Index and follow the instructions you will see after installation :)

Good luck!

xano’s picture

Status: Active » Fixed

I trust it you have figured it out. Since Vocabulary Index 1 is no longer supported I am closing this issue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

xano’s picture

Assigned: xano » Unassigned