hi to all of the drupal fans,

first i like to say that i love drupal, its really flexible and incredible! but i have a little problem:

On the frontpage of my site i have a block displaying the 2 most recent news posts, it works really well. i also have a fine newspicture displaying as well.
i use views to generate the teaser list. one image field and one body field for the teaser text. but the teaser displays also the terms assigned en the author information and that is just what i dont want.

how can i remove the term and author information form a views generated teaser view?

an image of my teaser items:

http://www.uploadgeek.com/uploads456/0/teaser.jpg

if someone can help me i would really appreciate it!

sorry voor my bad english

Comments

Blitter’s picture

The quickest way is to theme it out.

nemsiz’s picture

can u explain what u exactly mean? :)

thanks

Blitter’s picture

You add a theme for the block and use it to hide the taxonomy terms (or put them in a format you prefer)
http://drupal.org/node/104319

http://drupal.org/node/133236
(also hints at the other solution using CCK, but thats a site wide control)

philsward’s picture

You can use CSS to remove the "submitted by" field.

View the source and you will find a class labeled view-(your view name)

Here is an example of one I have:

<div class='view view-listings'><div class='view-content view-content-listings'>  <div class="node">.....

Notice the view-listings. That is the name of my machine read-able view.

The next part is the submitted class.

To remove it using CSS, simply put the following into your css file:

.view-listings .submitted {
  display: none;
}

Just remember to replace the .view-listings with whatever your view name might be.