hello
Create How to Create Magento static Block in magento.
First you want to login main gento admin.
after click on menu cms=>static block
check first sceen short.
after click on Add New Block.
check out below sceen short and see you to add static in magento admin.
give tilte name
Give Identifier name
give status enable.
How to call static Block in magento Phtml file
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('follow_us')->toHtml(); ?>
follow_us in Identifier of static block. give identifire name in setBlockId
in cms page
Short code inside another block or cms page :
{{block type="cms/block" block_id="your_block_id"}}
0 komentar:
Post a Comment