Simplify Node Add

Component ID

680808

Component name

Simplify Node Add

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

4368

Component created

Component changed

Component body

This module can be used for simplifying the forms used to add and edit nodes. With this module you can define which fields to show to a user.

Newly added is the hook you can use to custom add fields that this module uses. You can use hook_simplify_node_add_gettypes().

Example hook:

function myModule_simplify_node_add_gettypes() {
  $field_types = array(
    'access' => array(
      'fieldname' => t('title'),
    ),
    'unset' => array(
      'fieldname' => t('title'),
    ),
  );
  return $field_types;
}

The hook uses a nested array which holds an array of field to set the access to false or unset the field.

Update 19.Dec.14: Module ownership has been transferred to /u/MattWithoos. Originally, the entirety of the module was unsupported. I will be supporting the 7.x branch and the 6.x will not have active development - however, if any patches are contributed and tested, I will gladly merge them in.