Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By renzomassaro on
hello,
I made a new block "testblock" and now I want a new created content "testcontent" to use in the block.
What are the steps to do this? I can't figure out how to see a new content into a new block.
All the help is welcome..
Renzo
Comments
CCK & Views
Hey Renzo, check out CCK and Views, they are the building blocks for just about every Drupal site.
From the admin/build/block/add you can create a block and add content to it. Then visit /admin/build/block and move your block from Disabled to the region of your choice. This is quick and easy, but not most flexible way of doing things.
A better approach would be to create the content type (using CCK) "testblock" and populate it. Then create a View which filters by testblock and outputs a block.
Check out http://mustardseedmedia.com/podcast/episode9 for a quick overview of Views.
Blessings!
-NP