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:)
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.
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.
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.
Groups.drupal.org is a part of the drupal.org group of sites. Logging in on this site requires an account on the main drupal.org site. If you do not have an account on drupal.org, you will need to create one, log in over there, and then come back here where you should automatically be logged in.
Why not use List view and
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?
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
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
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
CSS is your friend
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
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
Webmaster Toolbar for Firefox (or Firebug) is very useful for finding those classes...
-kpaul
Custom Block
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.
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
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.