I have installed and enabled the module, but cannot find any configuration page anywhere in Admin such that I can define which modules are to be hidden or required. What am I missing?

Comments

jraper@groups.drupal.org’s picture

Title: Installed and Enabled - Now What??? » Figured it out

For those that follow - in the module file you will find a block of code (near the top) labeled "sample usage". Copy this block of code into your theme's template.php file (create if necessary) and uncomment the appropriate lines so that you end up with:

// Sample usage:
// @code
$settings = array(
   'modules' => array(
     'required' => array('menu', 'book'),
     'hidden' => array('story')
   )
);
variable_set('systemmask_system', $settings);
// @endcode

Then replace the array elements with those module names that you wish to require or hide.

Then go to admin/modules and click the "Save configuration" button. You might have to do this twice in order for the settings to "take".

jraper@groups.drupal.org’s picture

Title: Figured it out » Installed and Enabled - Now What???
Status: Active » Closed (fixed)

Closing bug report.

Steve Dondley’s picture

I've added documentation to the README file. See http://drupal.org/node/332783