I'm just getting started with Drupal module development (specifically CCK module dev) and I'm rather stuck on an issue which I'm sure a more experienced dev could spot instantly. I've been working with one of the sample CCK modules (cck/examples/example_field.php) and I've been modifying it so I can start to do some real learning and I've got it working except one thing. I can add the field to a content type, I can save data to the field and it stores in the database but when someone views the node the field doesn't show up. I've searched the forums and read the documentation but I really can't figure out what I'm missing.
If you have some time to kill and would like to help a newb module developer, take a look at this and let me know what you think.
http://mercury-girl.net/key/simple-address-6.x-1.x-dev.tar.gz
Thanks in advance!
P.S. Drupal 6.3, CCK 2.0 rc4, Views 2.0 rc1
Comments
I've also tried, as people
I've also tried, as people suggest, using the text.module to learn from but the same exact problem arises. It stores the data in the database but won't display it even though other fields on the page display just fine (like text, nodereference, date, etc).
I've seriously been searching forums, docs and code for days and I can't get past this. I must be missing something simple and obvious. Has anyone even heard of such a problem?