欢迎来到天天文库
浏览记录
ID:6382758
大小:138.00 KB
页数:2页
时间:2018-01-12
《magento模板开发 using cms static blocks》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、UsingCMSStaticBlocksMagentoGoallowsyoutocreateblocksofcontentthatyoucanusethroughoutyourWebStore. ThebenefitofusingStaticContentBlocksisthattheycanbeimplementedonanypageorgroupofpagesusingthefrontendAppstoolsavailableinMagentoGo.TocreateaStaticBlock:1.IntheAdminPanel,selectCMS>S
2、taticBlocks.2.FromtheStaticBlockspage,clickthe[+AddNewBlock]buttontocreateanewStaticBlock.TheNewBlockconfigurationpagewillopen.3.Fromthispage,defineandconfigurethefollowingfields:oBlockTitle–Definearelevanttitleforthisblockofcontent.oIdentifier–Defineauniqueidentifier.Arecommend
3、edguidelineisifyourtitleis“MySpecialTitle,”youridentifiershouldbe“my_special_title.”TheidentifierisusedtomanipulatedatablocksusingXMLcode.Itisnotvisibleonyourstorefront.oStoreView–Selectthestoreview(s)thiscontentblockwillbevisibleorAllStoreViewstoincludeall.NOTE:StoreViewfieldwi
4、llbevisibleonlyifyouhavesetmultiplestoreviews.TIP:Toselectmultiplestoreviews,useCtrl+Clickwhenselectingfromthelist.oStatus–SelectEnabledtomakethisstaticblockvisibleonfront-end.oContent–Fillinwiththecontentforthisstaticblock.YoucanusetheWYSIWYGEditor(visibleatthetopofthetextbox)t
5、oformattext,createlinksandtables,oraddimagesandmedia.TolearnmoreabouthowtousetheWYSIWYGEditor,see“TipsonusingtheWYSIWYGeditor.”1.Onceyouhavefilledincontentandconfiguredthestaticblock,clickthe[SaveBlock]buttontosaveyourchanges.更多资源来自www.elbamboo.com
此文档下载收益归作者所有