Submitted by andy.pangus on Wed, 08/03/2011 - 11:28
In a couple of the Simple Content Type examples we have done so far there has been a required helper module which creates and adds a vocabulary with some terms using the Taxonomy module. Creating vocabularies and terms through code is a fairly straightforward process. We will use two hooks and several helper functions to handle all the lifting.
Submitted by andy.pangus on Sat, 07/23/2011 - 16:45
This post refers to an earlier post titled Drupal 7 - An Annoying Error in which I claim to have found a fix to the annoying "comment_node_type_delete()" errors I would get when uninstalling a custom built content type. The solution I found works well when having a base value of "node_content" suits the method you are using to build your content type, such as using the Field API, but if you roll your own base type and delete your custom content type during uninstalling then you are bound to see this from time to time:
Submitted by andy.pangus on Sun, 07/10/2011 - 23:04
Content types in Drupal are like data classes in that they can be designed to hold all of the information related to one story, article, or other type of content. There are two ways to create custom content types with Drupal 7: the Field UI and by coding up a module. Depending on your personal style and/or need, the Field UI may have everything you need to create the content type of your dreams.