Submitted by andy.pangus on Sat, 11/19/2011 - 09:29
I am attending Drupal Camp Austin 2011 this weekend and writing about the sessions and updating throughout the weekend.
9:00am - I've just arrived and am getting settled at Drupal Camp Austin. We're waiting for the welcoming address to start. I plan on following most of the Developer schedule for the day with one or two alterations. Here's the plan:
Submitted by andy.pangus on Sat, 10/22/2011 - 00:05
Creating content types for pleasure and fun sometimes means that you need to have fields populated with data when first presented to the author during node creation. This functionality usually involves two things: someplace to create/modify those default values and injecting that value into your node creation forms. For this example, we're going to create a simple content type with a title, body, and an extra textfield and we'll populate that textfield with a value we specified using a settings form we added to our very own configurations section.
Submitted by andy.pangus on Fri, 08/19/2011 - 21:09
According to the Drupal API:
Tokens are placeholders that can be put into text by using the syntax [type:token], where type is the machine-readable name of a token type, and token is the machine-readable name of a token within this group.
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: