7
Feb.
7. Februar 2014
in Allgemein
XML Block:
<layout> <default> <reference name="content"> <block type="cms/block" name="cms_store_check"> <action method="setBlockId"><block_id>block_id</block_id></action> </block> </reference> </default> </layout>
Einbinden in eine CMS-Seite oder einen anderen Block oder eine CMS-Seite im Backend:
{{block type="cms/block" block_id="block_id" template="cms/content.phtml"}}
Direkt einbinden im Template:
echo $this->getChildHtml('block_name');
Einbinden im CMS:
{{block type="core/template" name="home_minds" template="cms/minds.phtml"}}