Hi.

I have got views installed and i managed to create a block that shows the teaser of the latest node sent into my blog.

Thats work perfect, but i would like to show into the block only the content, not the author, nor the links and also i would like to remove everything.

I think i need to edit the block.tpl.php but i am not sure how to make it.

Any help?

thanks!

Comments

mooffie’s picture

You're probably using the 'Teaser' style for this view. Switch to 'List' and add the 'Node: Body' field to the view. In the 'options' dropdown choose 'Teaser'. (All you have to do now is to get rid of the list bullet. Some CSS magic would solve this. Or, instead of 'List', use 'Table'.)

darkpollo’s picture

Ahm...
Right, i am using the Teaser Style.
Thanks, i will try with list or table.

darkpollo’s picture

Well, that works, but now i am not sure how to remove the bullet and also how to create the read more link. :)

darkpollo’s picture

I have found this,
http://drupal.org/node/136136

but i am not sure where is the template.php file to edit. Thanks

mooffie’s picture

> how to create the read more link.

Add the 'Node: Link to node' field. In the 'options' box type 'Read more'. (You can use CSS to make it smaller and aligned to the right.)

> how to remove the bullet

You'll find the CSS in the Views section of the handbook. Perhaps in a 'tips and tricks' section. Or search for "remove bullet views".

> I have found this,
> http://drupal.org/node/136136

Oh, no. You fell on the bad page. There's a pure CSS solution. We certainly don't want to write PHP, or else all we've done so far was in vain.