royalmakeyp Posted April 10, 2019 Share Posted April 10, 2019 Hello All, I would like to add "block new products" to a new page Could you please help me with this ? Thanks Link to comment Share on other sites More sharing options...
NemoPS Posted April 10, 2019 Share Posted April 10, 2019 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 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