Jump to content

Programatically set the pages on which module is visible on


helloworlder

Recommended Posts

I'm making a custom module, is there a way to programatically set the pages on which the module is visible on at installation? My module hooks into the left column, but appears in all pages with the left colum. I only want to display it on one page.

 

I know this can be done in the back office, but I need to be able to set it programatically.

 

Thanks!

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
×
×
  • Create New...