I am trying to include a child block (store_message) within store.phtml. Here is my code:
<reference name="content"> <block type="marketplace/store" name="store_list" template="marketplace/storesearch/store.phtml"> <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml"> <block type="page/html_pager" name="product_list_toolbar_pager"/> <!-- <action method="setData"><key>_current_grid_mode</key><value>list</value></action> --> </block> <block type="page/html" name="store_message" template="page/html/store_message.phtml" /> <block type="marketplace/store" name="insert_review" template="marketplace/storesearch/insertreview.phtml" /> </block> </reference>
I have read many articles on blocks for magento but still the concept of type=A/B is not very clear to me. If I am going to keep the child block in the same directory as the parent then what is the type=A/B should I give? What is A? What is B?
Some explanations said that A is the class and B is the method. How can a simple child block have a class and method ... its just a template. Can someone please explain?