Posted by chud on November 7, 2006 at 3:22am
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
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
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
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
Just remember - the last version + bugs open... check the code first before you open a vulnerability on your site.