Active
Project:
Petition Node
Version:
6.x-1.5
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Oct 2011 at 09:54 UTC
Updated:
6 Oct 2011 at 09:55 UTC
I would like to force the global petition settings sitewide, therefore i would like to hide the advanced petitionsettings on the petition node add.
I have inserted in the template.php the following code:
function theme_node_form) {
$form['petition']['petition_node_settings']['optional_fields']['#access'] = FALSE;
However by hiding the advanced settings this way, the petition node seems to loose its global settings as well.
Help appreciated
Thanks