Posted by fabianderijk on January 10, 2010 at 9:19pm
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:
<?php
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.
#D7CX: I pledge that Simplify Node Add will have a full Drupal 7 release on the day that Drupal 7 is released.
Note 19.Dec.10: D7 allows enabling/hiding of the core node edit sections out of the box. There is also the simplify module for D7 that you might wish to know about.
Project Information
- Maintenance status: Seeking co-maintainer(s)
- Development status: Maintenance fixes only
- Module categories: Content, Filters/Editors, Utility
- Reported installs: 463 sites currently report using this module. View usage statistics.
- Last modified: May 18, 2011