Jump to content

How to add block to a new page


royalmakeyp

Recommended Posts

I guess the best way, if the page is custom, is to create a hook in the page's tpl, with {hook h='nameofthehook'}
Then extend the blocknewproducts module with an override, and add function hookNameOfThehook, and return whatever it returns for home/hometabcontent

 

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...