display nodes as blocks

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

I built my first module that might actually be useful to someone else. Check out nodeblock at http://drupal.org/node/93339

Because Drupal's more fun when everything is a node! ;)

~chud

Comments

form_alter, nodeapi

mfredrickson's picture

Hi,

I like this idea (I was considering doing it myself the other day). I would suggest, however, that you change your module to use hook_form_alter and hook_nodeapi. This will allow you to make any node a node block, not just your content type. Stick the teaser in the block and you're off to the races. See the taxonomy.module for an example of a module that allows you to put your own form elements on a node edit form.

Good luck,
-Mark

There should be something

blogme4u's picture

There should be something inbuilt which does this, rather than having a seperate module to give this functionality.

I found this module giving this functionality:

http://drupal.org/project/nodeasblock

Just remember - the last

Ron.Brash's picture

Just remember - the last version + bugs open... check the code first before you open a vulnerability on your site.

Vancouver

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: