Developer forum

Forum » Rapido » Add Block in Masterpage from ProductDetail

Add Block in Masterpage from ProductDetail

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,

Is there any way I can add a Block in the MasterPage from the product detail page?

If I use this code:

BlocksPage masterBlocks = BlocksPage.GetBlockPage("Master");

masterBlocks is not null but I cannot get rid of any of the Subblocks of the master page.
And using @masterBlocks.GetBlocksStructure() does not return anything

I believe I am missing something here.

Thank you,
Adrian


Replies

 

You must be logged in to post in the forum