Remove image and title in a views teaser list

Events happening in the community are now at Drupal community events on www.drupal.org.
msidibe03's picture

Good morning.

I am a newbie in drupal and php.
How can I removed the Story title, the taxonomy and image from a teaser list view.

Thank you in advance

Comments

Why not use List view and

shyamala's picture

Why not use List view and list only the fields you want?

Netlink Technologies Ltd
http://shyamala-drupal.blogspot.com/

How can I remove the bullet?

msidibe03's picture

Thank you!

But is there a way to remove the bullet in front of the field?

Thanks in advance!

Problem when I add it to mini-panel

msidibe03's picture

When I add the view to a mini-panel and check the preview there is a bullet in front of the field.
Is there anyway to remove it.

Thanks in advance

CSS

dan_k's picture

Put list-style-type: none; in the relevant CSS id or class for that list element.

Dan Knauss

LinkedIn: www.linkedin.com/in/danknauss
New Local Media :: Riverwest Neighborhood Network
www.newlocalmedia.com :: www.riverwestneighborhood.org

Dan Knauss

LinkedIn: www.linkedin.com/in/danknauss
New Local Media :: www.newlocalmedia.com

CSS is your friend

agaffin's picture

Look at the id and class(es) associated with the list you generate and style those.

list-style-type: none;

is your friend :-).

Another alternative is to modify the node.tpl.php

talyia's picture

Another alternative is to modify the node.tpl.php so that you can customize the views/teaser list AND the full node so that you can get it exactly as the way you want it:) For my site, in Views, I chose to display the View (of each section) as node, and not fields, then customized the node.tpl.php to get it to look exactly the way I wanted.

Even tho' you may choose to go the "fields" route now, this is a very handy method to know about:)

Take a look at http://drupal.org/node/164065#comment-992955
and also take a look at http://drupal.org/node/290667 which will also be of help.

There is also some detailed documentation in the Drupal handbooks about modifying the node.tpl.php files.

Good luck! :)

firefox / css

kpaul's picture

Webmaster Toolbar for Firefox (or Firebug) is very useful for finding those classes...

-kpaul

Custom Block

mnzava's picture

Hi all,

Since i am just a bigginer in drupal , can anyone help me out on how to create custom block that will display data like in the following site?

http://www.themesnap.com/theme-demos/publisher-theme/node

I have much interest in MUSIC NEWS block and BUSINESS NEWS block.

My questions are:
1. How can i make images to appear the way they've appeared in the BUSINESS NEWS area? I mean images to be on the left and title and teaser on the right. I know how to do it with CSS only but i dont know how to do the same using php with drupal.

  1. How can i make a block to appear the way it appeared in the MUSIC NEWS area? I mean Image, Teaser and Related News as an ordered list.

    I hope you will help me out so that one day i can became a good drupler like you.

Thank you in advance,

NB: Sorry for my English since it's not my mother tongue language.

CSS, Firebug, Views theming

msidibe03's picture

Thanks to all for the help.
I found the relevant CSS for to remove the bullet with Firebug.

And then thanks to Talyia I found a pretty straightforward to understand for theming views from Keyz.
I recommend to any newbies looking to theme views to read this post from keyz: http://drupal.org/node/226818.
It help me understand the concept better than the tutorial itself.

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: