Timeline for Pass data to getChildHtml() in foreach loop - Magento 2
Current License: CC BY-SA 3.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 22, 2016 at 14:47 | vote | accept | Sophie Baxter | ||
| Jun 22, 2016 at 14:47 | answer | added | Sophie Baxter | timeline score: 3 | |
| Jun 18, 2016 at 11:00 | comment | added | Zefiryn | Maybe this answer will be usefull. | |
| Jun 18, 2016 at 10:30 | answer | added | Fisheye Chris | timeline score: 0 | |
| Jun 17, 2016 at 16:40 | answer | added | Sophie Baxter | timeline score: 0 | |
| Jun 17, 2016 at 11:23 | comment | added | Sophie Baxter | I tried that too, same error. | |
| Jun 17, 2016 at 10:36 | comment | added | Ihor Klymchuk | You dont have block with name "search". Try this $block->getChild('catalogsearch_advanced_search') | |
| Jun 17, 2016 at 10:24 | comment | added | Sophie Baxter | $block->getChild('search')->setData('my_arg', $_code); $block->getChildHtml('search'); isn't working either, getting the error Call to a member function setData() on null | |
| Jun 17, 2016 at 9:41 | comment | added | Ihor Klymchuk | In GetChild and SetData first letter must be in lowercase | |
| Jun 17, 2016 at 9:18 | history | asked | Sophie Baxter | CC BY-SA 3.0 |