<block type="page/html_toplinks" name="top.left.links" as="topLeftLinks"/>
<?=$this getChildHtml(’as’)?> - by using the block alias “as” from the XML file we can display a block on our page → providing that it was defined already in the corresponding XML file
<?=$this→getLayout()→getBlock(’name’)→toHtml()?> - by using the block name from the XML file, we can call any block whether or not it was already defined in corresponding XML file
Comments
Post a Comment