helloworlder Posted September 21, 2015 Share Posted September 21, 2015 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 More sharing options...
Dh42 Posted September 22, 2015 Share Posted September 22, 2015 Which page are you wanting it to display on? There is a page_name variable that can target some of the page types. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now