Last updated March 26, 2011. Created by rorysolomon on November 24, 2006.
Edited by linclark, merlinofchaos. Log in to edit this page.
The following entry in the API provides code for this example. Comments sprinkled throughout should provide guidance in understanding what is going on here, and in the steps you should take if you are trying to implement something similar.
node_example.module | Drupal API
Note: the "source" link on that page is broken, so after reading the module description, go here for the actual code:
(click "view" or "download" from those links for the actual source code.)
Comments
Example for Views 1 API?
I expected to have some working Views 1 API code examples based on previous sections in this node_example module, but all it has is about
1. creating a custome node
2. creating forms
3. creating a databse table and storing/viewing the newly created nodes.
Am I missing something?
Link broken
Not only the 'source' link, the links for 'node_example.module', 'node_example.info', and 'node_example.install' are all broken.