调用一个静态块
网页端调用:$this->getLayout()->createBlock('cms/block')->setBlockId('home_jbcs_daojishi')->toHtml();"home_jbcs_daojishi为静态块的url key";
后台网页调用静态块:{{block type="cms/block" block_id="home_gonggao"}} ;"home_gonggao为静态块的url key";
静态块调用一个商品类和数量:{{block type="simpledesign/catalog_product_list_singlerow" category_id="51" list_size="4"}};"simpledesign/catalog_product_list_singlerow建的block";
获取配置问题的json数据:json_decode(Mage::getStoreConfig('bf170card/lottery/prizepool'), 1);:返回一个数组