Pages>HomePage3.OpentheDesigntab,intheLayoutUpdateXMLfieldyoucanseethehomepageblocksc" />

亚洲免费在线-亚洲免费在线播放-亚洲免费在线观看-亚洲免费在线观看视频-亚洲免费在线看-亚洲免费在线视频

magento 管理首頁側欄 How to manage home page

系統 2077 0

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

?

3. Open the Design tab, in the Layout Update XML field you can see the home page blocks code.

magento 管理首頁側欄 How to manage home page sidebar blocks

?

Here are some examples:

?

Popular Tags block

    <block  type="tag/popular" name="tags_popular"  template="tag/popular.phtml"/>
  
?

Community Poll block

          <block  type="poll/activePoll" name="right.poll">
<action method="setPollTemplate"><template>poll/active.phtml</template><type>poll</type></action>
<action method="setPollTemplate"><template>poll/result.phtml</template><type>results</type></action>
</block>
        
?

Newsletter Sign-Up block

          <block  type="newsletter/subscribe" name="left.newsletter"  template="newsletter/subscribe.phtml"/>
        
?

Sidebar callout(banner) block

          <block  type="core/template" name="left.permanent.callout"  template="callouts/left_col.phtml">
  <action  method="setImgSrc"><src>images/media/col_left_callout.jpg</src></action>
  <action  method="setImgAlt" translate="alt"  module="catalog"><alt>iPod  classic</alt></action>
  <action  method="setLinkUrl"><url>storage.html</url></action>
  </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

?

Turning On and Off Magento's Default Blocks

?

Common Elements You Can Turn Off (and On) Via the Admin Panel

Below are some of the blocks and elements that you can turn off using the Admin Panel. The key advantages of turning off elements using the Admin Panel are that you don’t have to mess with any code and doing so ensures your changes are independent of the theme being used. Turning blocks on and off via the Admin Panel also makes the change ubiquitous across the site—no danger of a block or stray link accidently showing up on a little trafficked page you didn’t remember to change the code for—and you can reverse the process, turning the block back on whenever desired.

Header

image
Remove/Edit the Default welcome message
ADMIN: System → Configuration → Design tab → Header panel. Edit or delete the contents of the "Welcome Text" field.

Footer

image
Remove/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 functionality
ADMIN: 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>

Newsletter

image
Remove the sign up block and disable functionality
ADMIN: System → Configuration → Advanced tab. Set “Mage_Newsletter” to "Disable."

Poll

image
Disable all polls
ADMIN: System → Configuration → Advanced tab. Set “Mage_Poll” to "Disable."
Remove current poll but leave functionality available for later
ADMIN: CMS → Polls. Set “Status” of the current poll to “Closed”.

PayPal logo

image
Remove logo only (leave functionality available)
ADMIN: System → Configuration → PayPal tab → Frontend Experience panel. Set “PayPal Product Logo” to “No logo.”

Wishlist

image
Remove top link and disable functionlity
ADMIN: System → Configuration → Advanced tab. Set “Mage_Wishlist” to "Disable."

Reviews

image
Remove product page links and disable functionality
ADMIN: System → Configuration → Advanced tab. Set “Mage_Review” to "Disable."

Tags

image
Remove tag cloud and disable product page functionality
ADMIN: System → Configuration → Advanced tab. Set “Mage_Tag” to "Disable."

Cart Sidebar

image
Remove 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.

Header

image
Cart & Checkout links
Set in base/default/layout/checkout.xml
My Account, Log In & Log Out links
Set in base/default/layout/customer.xml

Left Callout banner (the dog)

image
Sidebar block
Set in base/default/layout/catalog.xml

Right Callout banner (back to school)

image
Sidebar block
Set in base/default/layout/catalog.xml

Compare Products sidebar

image
image
Sidebar block
Set in base/default/ layout/catalog.xml
Product and category page links
The “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>

Cart

image
Sidebar block
Set in base/default/layout/checkout.xml
Top links--cart and checkout
Set in base/default/layout/checkout.xml

Recently Viewed Products sidebar

image
Sidebar block
Set in base/default/layout/report.xml

Recently Compared Products sidebar

image
Sidebar block
Set in base/default/layout/report.xml:

?

?

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

?

?

?

?

magento 管理首頁側欄 How to manage home page sidebar blocks


更多文章、技術交流、商務合作、聯系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 亚洲精品久久久久午夜福 | 涩涩伊人 | 狠狠成人 | 高清国产一级毛片国语 | jizzjizz美女 | 在线观看亚洲免费 | 青青青国产在线手机免费观看 | 亚洲人成在线精品不卡网 | 天天舔天天操天天干 | 深夜在线免费 | 91在线视频免费播放 | 日韩欧美中文字幕出 | 国产精品夜色一区二区三区 | 亚洲视频在线播放 | 亚洲精品一区久久狠狠欧美 | 夜夜春夜夜爽久久 | 亚洲一区二区三区免费看 | 高清欧美一级在线观看 | 天天躁日日躁狠狠躁黑人躁 | 99热影视| 久久这里只有精品免费视频 | 香蕉视频网站免费观视频 | 久久国产成人精品国产成人亚洲 | 综合亚洲欧美日韩一区二区 | 伊人色色网 | 日韩精品一区二区三区中文 | 国产性做久久久久久 | 欧美日韩一级黄色片 | 九九热精品在线视频 | 国产九九在线观看播放 | 在线看片a| 狠狠色噜噜狠狠狠米奇9999 | 狠狠狠色| 日本一级毛片在线播放 | 欧美成人伊人十综合色 | 欧美成人免费 | 久久久久久国产精品mv | 欧美伦禁片在线播放 | 亚洲综合日韩欧美一区二区三 | 四虎成人精品在永久在线观看 | 五月狠狠亚洲小说专区 |