Does anyone know how to create a group content type on module install? I can create it by GUI by checking the "group" checkbox on the organic group vertical tab of the content type page. Thanks in advance.
You can export your content types as features and then have them installable as a module. Check out the features module.
https://drupal.org/project/features
Thanks Anoop
|-- | Zyxware Technologies | http://www.zyxware.com |-- | Be the change you wish to see in the world, M. K. Gandhi |--
On Tue, Oct 22, 2013 at 5:28 PM, City Boy cookierecipe@hotmail.com wrote:
Does anyone know how to create a group content type on module install? I can create it by GUI by checking the "group" checkbox on the organic group vertical tab of the content type page. Thanks in advance. -- [ Drupal support list | http://lists.drupal.org/ ]
Does anyone know how to add some relation types fields on module install?Is it the same way as the fields of custom content types which created by two functions field_create_field/field_create_instance? I can create relation type,but don't know how to add fields to it.Any help would be appreciated.Cheers,