How do I get rid of the taxonomy terms display on my page?

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
pkcho's picture

I apologize in advance for the dumb question, but for the life of me I can't seem to find the setting to address this.

I am using Taxonomy menu in conjunction with my taxonomy vocabulary and terms to create the menus for our newspaper site. Everything works great when I click on the sub-items (terms) beneath each individual menu items/vocabulary (News, Sports, Lifestyle, Opinion, etc...). So for example, when I click on the sub-menu beneath "News": "Local News", "Local Business", "High Schools", etc... the page opens fine without issue.

But, when I click on the main vocabulary "News", the page opens first displaying all of the terms in bold (Local News, Local Business, High Schools, etc...) and then the news entries. I don't want our readers to see all the terms listed out, especially in BOLD.

How do set it so the TERMS in the Vocabulary DO NOT SHOW when the main menu is clicked?

I am not able to provide a link to the site because I am setting it up locally on my computer.

Thanks,
Joe

Comments

css

jbergeron's picture

I would suggest just hiding them in the CSS with a display:none, that is quick and easy.

There's always tweaking template files

snorkers's picture

How about either tweaking your theme's node.tpl.php files (just remove the   <?php if ($terms): ?> section) so that $terms is not rendered? Alternatively, if you just want to hide the taxonomy terms for your News node types, create a node-news.tpl.php in your themes that does not output $terms.

I use it

nbluto's picture

I use this module. I really like it and it works really well and is super simple to configure.

CSS or Template files

ishmael-sanchez's picture

I love that there are modules for everything, but if your site has a lot of modules this might be better handled with CSS and template files. I don't like the idea of modules doing things that theme system is capable of.

I like the CSS method best, but template files also work great, just depends on your needs. For example, if you want the taxonomy terms listed in your print.css (Don't know why, but you might) you might be better leaving the template files and just using CSS to hide it on screen.

Thank you.

pkcho's picture

I assumed I was missing a setting, but obviously there are other ways to deal with this.

Thanks for all your help!

—Joe

display suite

aufumy's picture

another way is through the use of the display suite module http://drupal.org/project/ds

which allows for finer grained control of where the node elements can go.

Newspapers on Drupal

Group organizers

Group categories

Topics - Newspaper on Drupal

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week