[development] D7 additional content type settings [was: D7 node flow]

Blake Senftner bsenftner at earthlink.net
Wed Jun 29 15:08:00 UTC 2011

The process of creating an option for use in other content types is one of the first coding examples in "Pro Drupal 7 Development", Chapter 2.  

bsenftner at earthlink.net

On Jun 28, 2011, at 6:25 PM, Jeff Greenberg wrote:

> Still unclear on this...not for lack of searching.  If I add a field to node_type_form with hook_form_alter, how do I access that field's contents when NOT on the content type page? For example, if as a result of hook_form_alter my content type form shows the following:
> Default options
>  Published
>  Promoted to front page
>  Sticky at top of lists
>  Create new revision
>  My option
> The setting for My options shows up every time I edit the content type, but how do I access it when content is being created for that content type?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20110629/7a26a621/attachment-0001.html 

More information about the development mailing list