Timeline for Call CMS Block with Category name as Identifier
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 27, 2021 at 9:13 | comment | added | zus | How to add cms block using custom module instead of adding cms block from magento admin backend magento.stackexchange.com/q/330082/57334 | |
Jun 14, 2018 at 12:22 | vote | accept | Valentin PKStore | ||
Jun 14, 2018 at 12:21 | vote | accept | Valentin PKStore | ||
Jun 14, 2018 at 12:21 | |||||
Jun 14, 2018 at 12:21 | comment | added | Valentin PKStore | Stupid me forgot to copy the opening php tag >< Thank you so much! Works now! I changed it to 'setBlockId( "cat-bottom-" . $this->getCurrentCategory()->getId() )->toHtml();' and it works perfectly! | |
Jun 14, 2018 at 7:18 | comment | added | Amit Bera♦ | Location seems ok from screesnhot. But might be block class name is wrong, Please check updated post. | |
Jun 14, 2018 at 7:15 | history | edited | Amit Bera♦ | CC BY-SA 4.0 |
deleted 5 characters in body
|
Jun 13, 2018 at 22:32 | comment | added | Valentin PKStore | And I added the XML in my theme (Magento_Catalog/layout/catalog_category_view.xml) | |
Jun 13, 2018 at 21:07 | comment | added | Valentin PKStore | Thank you! Unfortunately, I get an two exceptions: ` Exception #0 (Magento\Framework\Exception\LocalizedException): Invalid block type: Parkourstore\Catalog\Block\Category\View Exception #1 (ReflectionException): Class Parkourstore\Catalog\Block\Category\View does not exist`. Here is a screenshot how I build the module, maybe wrong paths? prntscr.com/junklq | |
Jun 13, 2018 at 3:47 | history | answered | Amit Bera♦ | CC BY-SA 4.0 |