1 2 3 4 5 6 7 8 9 10 | <? xml version = "0.1.0" ?> < layout > < custommodule_index_index > < reference name = "content" > < block type = "custommodule/custommodule" name = "custommodule" template = "custommodule/custommodule.phtml" > < block type = "custommodule/custommodule_slider" name = "custommodule_slider_nivo" template = "custommodule/sliders/nivo.phtml" /> </ block > </ reference > </ custommodule_index_index > </ layout > |
no i sprawa wygląda tak, że ładuje mi się template custommodule/custommodule.phtml lecz gdy robię echo $this->getChildHtml('custommodule_slider_nivo'); to dostaję pusty tekst. Metoda custommodule $this->getChild('custommodule_slider_nivo'); zwraca false co robię źle? Blok Component_Custommodule_Block_Slider istnieje i dziedziczy po Mage_Core_Block_Template
Cache wyłączony