首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

magento 治理首页侧栏 How to manage home page sidebar blocks

2012-12-28 
magento 管理首页侧栏 How to manage home page sidebar blocksHome Page blocks.Home pageblocks in Mage

magento 管理首页侧栏 How to manage home page sidebar blocks
Home Page blocks.

Home page blocks in Magento are controlled by the Magento administration panel. So all change should be done there.

?

1. Open Magento admin panel

2. Go to CMS > Pages > Home Page

magento 治理首页侧栏 How to manage home page sidebar blocks?

Community Poll block

?

Newsletter Sign-Up block

?

Sidebar callout(banner) block

?

?You can change the blocks order or delete any of the blocks editing the XML code.

?

Feel free to check the detailed video tutorial below:

How to manager home page sidebar blocks

?

来源: http://www.templatemonster.com/help/how-to-manage-home-page-sidebar-blocks.html

?

Remove/Edit the Default welcome messageADMIN: System → Configuration → Design tab → Header panel. Edit or delete the contents of the "Welcome Text" field.Footermagento 治理首页侧栏 How to manage home page sidebar blocksRemove/edit the CMS-based links (About us | Customer Service)ADMIN: CMS → Static Blocks. Disable or modify the "footer_links" block.Remove Site Map link (and site map itself)ADMIN: System→Configuration→Catalog tab→SEO panel. Set “Autogenerated Site Map” to "Disable."Remove Popular Search Terms link (and search terms page)ADMIN: System→Configuration→Catalog tab→SEO panel. Set “Popular Search Terms” to "Disable."Remove Contact us link (and contact form)ADMIN: System → Configuration → Contacts tab. Set "Enable Contact Us" field to "No."Remove RSS link and functionalityADMIN: System→Configuration→RSS Feeds tab→RSS Config panel. Set “Enable RSS” to "Disable."Remove/edit the Copyright notice ADMIN: System → Configuration → Design tab → Footer panel. Edit or delete the contents of the "Copyright" field.Remove "Keep Magento healthy" message This message is hard-coded in the current theme's template/page/html/footer.phtml file and can be edited there.As a temporary workaround, you can hide this message using CSS. Go to ADMIN: System → Configuration → Design tab → Footer panel. In the "Miscellaneous HTML" field insert the following CSS statement: <style>p.bugs {display: none;}</style>Newslettermagento 治理首页侧栏 How to manage home page sidebar blocksRemove the sign up block and disable functionalityADMIN: System → Configuration → Advanced tab. Set “Mage_Newsletter” to "Disable."Pollmagento 治理首页侧栏 How to manage home page sidebar blocksDisable all pollsADMIN: System → Configuration → Advanced tab. Set “Mage_Poll” to "Disable."Remove current poll but leave functionality available for laterADMIN: CMS → Polls. Set “Status” of the current poll to “Closed”.PayPal logomagento 治理首页侧栏 How to manage home page sidebar blocksRemove logo only (leave functionality available)ADMIN: System → Configuration → PayPal tab → Frontend Experience panel. Set “PayPal Product Logo” to “No logo.” Wishlistmagento 治理首页侧栏 How to manage home page sidebar blocksRemove top link and disable functionlityADMIN: System → Configuration → Advanced tab. Set “Mage_Wishlist” to "Disable."Reviewsmagento 治理首页侧栏 How to manage home page sidebar blocksRemove product page links and disable functionalityADMIN: System → Configuration → Advanced tab. Set “Mage_Review” to "Disable." Tagsmagento 治理首页侧栏 How to manage home page sidebar blocksRemove tag cloud and disable product page functionalityADMIN: System → Configuration → Advanced tab. Set “Mage_Tag” to "Disable."Cart Sidebarmagento 治理首页侧栏 How to manage home page sidebar blocksRemove sidebar only (leave functionality available)ADMIN: System → Configuration → Checkout tab → Shopping Cart Sidebar panel. Set “Display Shopping Cart Sidebar” to “No.”

Common Elements You Can Turn Off Via the Layout Files

Some Magento blocks are controlled by larger modules and cannot be turned on and off quite so neatly using just the Admin Panel. Instead, those blocks are best turned off using the layout (xml) files for your theme. Below is a list of some of these blocks for the default design package. You may have additional blocks in your design package and theme, but you can use this a guidance for determining where the blocks you're working with are likely to be declared.The section following this provides some instructions on how to do disable these blocks. As with using the Admin Panel, disabling a module at the layout level will ensure that it’s truly off across your entire site.

Cart & Checkout linksSet in base/default/layout/checkout.xmlMy Account, Log In & Log Out linksSet in base/default/layout/customer.xmlLeft Callout banner (the dog)magento 治理首页侧栏 How to manage home page sidebar blocksSidebar blockSet in base/default/layout/catalog.xmlRight Callout banner (back to school) magento 治理首页侧栏 How to manage home page sidebar blocksSidebar blockSet in base/default/layout/catalog.xmlCompare Products sidebar magento 治理首页侧栏 How to manage home page sidebar blocks
magento 治理首页侧栏 How to manage home page sidebar blocksSidebar blockSet in base/default/ layout/catalog.xmlProduct and category page linksThe “Add to compare” link on the product page is set in template/catalog/product/add-to.phtml and needs to be removed separately. As a temporary workaround, you can hide this message using CSS. Go to ADMIN: System → Configuration → Design tab → Footer panel. In the "Miscellaneous HTML" field insert the following CSS statement: <style>p.link-compare {display: none;}</style>Cartmagento 治理首页侧栏 How to manage home page sidebar blocksSidebar blockSet in base/default/layout/checkout.xmlTop links--cart and checkoutSet in base/default/layout/checkout.xmlRecently Viewed Products sidebarmagento 治理首页侧栏 How to manage home page sidebar blocksSidebar blockSet in base/default/layout/report.xmlRecently Compared Products sidebar magento 治理首页侧栏 How to manage home page sidebar blocksSidebar blockSet in base/default/layout/report.xml:

?

?

来源: http://www.magentocommerce.com/knowledge-base/entry/turning-on-off-magentos-content-blocks

?

?

?

?

热点排行