I magento 1 i can call {{block type="Xanka\Slider\Block\Slideshow" template="slideshow.phtml"}}. how do it in magento2?


First you should take a look at some of the magento 2 resources available (Can anyone suggest more technical resources for Magento 2?) or http://devdocs.magento.com/

In terms of adding a block, I'm assuming through the CMS you can use the following:

{{block class="Xanka\\Slider\\Block\\Slideshow" block_id="block_identifier" template="slideshow.phtml"}}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.