- Home
- News
- ERcore
- Jurisdictions
-
Workshops
The Workshops page allows registered ERcore users to post note about meetings and communications they are having with each other about implementing and using the software. We never know when another jurisdiction might find value in your work and want to partner with you to find and implement a solution.
January 21, 2015 - 12:00pm ER Core EPSCoR Admin Workshop October 2, 2013 - 10:00am Audioconference August 14, 2013 - 10:30am Audioconference July 23, 2013 - 10:00am Utah Workshop June 28, 2013 - 11:00am Audioconference
Creating Additional Roles and Hiding ER Core tabs
This is a New Mexico Customization that may be helpful to other EPSCoR jurisdictions.
An additional role was added (be it guest, blogger, etc). The ER tabs on the user profile can be hidden via use of the code below
This is added to the hook_form_alter in the user profile at - /er/includes/form_logic.inc
********* 'BLOGGER' can be changed to whatever role necessary.********
(in_array('BLOGGER', array_values($user->roles))) {
field_group_hide_field_groups($form, array('group_er_demographics')); // demographics field group
field_group_hide_field_groups($form, array('group_er_involvement')); // EPSCoR Involvement field group
field_group_hide_field_groups($form, array('group_er_education')); // Edcuation field group
field_group_hide_field_groups($form, array('group_er_inst')); // institutions field group
field_group_hide_field_groups($form, array('group_er_data')); // Data Collection field group
}
******************************************************************************************