Blocks pulling specific data / content type

Hipster - July 6, 2009 - 04:19

Hi,

I'm trying to set up various blocks that pull specific nodes.
I basically created new content type I created a new block.
How do i activate that block so it only pulls that new content type.
Also how do I restrict to how many entries are showing?

Thank you.

I think the easiest way would

nevets - July 6, 2009 - 04:21

I think the easiest way would be to use the views module, filter by node: type, set the number of entries and add a block display.

Great

Hipster - July 6, 2009 - 04:35

Do you happen to know what is the setting or where I link to the block I manually created? I basially just need content I made show up in a block on the page.

=-=

VeryMisunderstood - July 6, 2009 - 08:03

in views you create a block display, which will put the view in a block.

the method in your original post wouldn't work with out a custom db query. Views is a query writer. Get the advanced help.module for more views documentation and there is a good amount of videocasts that can be found with google and in the documentation area for views here on drupal.org.

Great

Hipster - July 10, 2009 - 02:19

Thank you VM,

Do you know any specific tutorials? I found some stuff but they rather general about blocks and what they are and how to put them in already set regions. I need to step-by-step tutorial that shows how to set blocks with content. I'm still feeling my way through Drupal and so far by reading general discussion on views I wasn't able to figure out how to do that. I really want to find something where they set up content and then create block pulling that content on the page. It seems that something like that is very important for creation of the site and I'm sure there are tutorials I just can't seem to find a good one to explain this to me. Thank you again for your help.

I have categorized reviews and I need to set it up where there are blocks on different pages/sections of the website pulling reviews but only specific category I want to pull.

thank you very much for your help.

g

 
 

Drupal is a registered trademark of Dries Buytaert.