Hello,
I am somewhat new to Drupal; I have Web Dev't coding experience. I would like to change the output of the page for a Directory term, and would be grateful for any help.

Specifically, I have a Directory Page listing all of the terms in a Vocabulary, you click on a term that is at the bottom layer and come to the page that lists all of the Nodes related to that term. Currently, the page displays the first few lines of the node. To start with, I would like to display only the Node Title. If I could, I would like to display the Node Title plus a custom content field.

Am I correct that the code controlling the output is on line 727?
" $output .= theme('directory_listing', $node);"
Would I go back to the code in lines 432ff and change the node_load to only load a title? I tried searching the API and could not figure out how to do that. Any further pointers on how to load a specific field in the Node would be greatly appreciated.

Again, any pointers are greatly appreciated.

Comments

beginner’s picture

Version: 5.x-2.0 » 6.x-1.0-alpha1
Status: Active » Fixed

directory.module no longer handle the display of node teasers.
See the new D6 alpha release announcement:
http://drupal.org/node/283259

You should have to look at the themer's guide section of the handbook for more information.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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