Jump to content

[solved] Make page of Process module hidden


Robin S
 Share

Recommended Posts

In the module info for a Process module you can include settings that automatically create a page under Admin:

// page that you want created to execute this module
'page' => array(
    'name' => 'helloworld',
    'parent' => 'setup', 
    'title' => 'Hello World'
),

Is there an easy way to make this created page hidden so it doesn't appear in the admin menus?

Or if I need a hidden page would I have to create/remove the page in the install()/uninstall() methods?

 

Edit: should have guessed it would be so easy... :)

// page that you want created to execute this module
'page' => array(
    'name' => 'helloworld',
    'parent' => 'setup', 
    'title' => 'Hello World',
    'status' => 'hidden',
),

 

  • Like 5
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...