All about Magento E-commerce Store.......MagentoForum: Turning off Magento Blockes

Saturday, February 26, 2011

Turning off Magento Blockes

When customizing your Magento store, one of the first things everyone wants to do is to turn off some of the
default functionality and modules. Out of the tarball, Magento has most of its functionality turned on so that it's
available, but some will not be applicable to your store. This article summarizes how to turn off some of default modules and blocks of content, like the callout banners in the right and left columns, or the poll, or newsletter signup.
The general process we recommend when starting to customize your Magento store is to start simple and move up to more complex solutions only if you need to. To ensure the best upgrade path and most stable behavior,
follow this approach when customizing:
1. Can you disable or customize the feature/module using the Admin Panel?
2. Can you disable or customize the feature/module using the layout (xml) files & CSS?
3. Can you disable or customize the feature/module using the template (phtml) files & CSS?
4. Do you have to write a custom module or local extension?
This article covers how to turn off some of the most commonly modified blocks and modules on your Magento website using the Admin Panel and your custom theme’s xml files (steps 1 & 2 above). It doesn’t provide every bit of code but should point you in the right direction for some of the most common elements. Guidance here will vary based on what version of Magento and what theme is being used, so we’ve tried to explain the general approach then you can adapt the specific admin fields or code snippets depending on your theme and version of Magento.
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 

Header   :ADMIN: System -> Configuration -> Design tab -> Header panel. Edit
                or delete the contents of the "Welcome Text" field.

Footer: Remove/edit the CMS-based links (About us | Customer Service)
            ADMIN: CMS C Static Blocks. Disable or modify the "footer_links"
            block.
            Remove Site Map link (and site map itself)
            ADMIN: System->Configuration->Catalog tabCSEO panel. Set
            “Autogenerated Site Map” to "Disable."
           Remove Popular Search Terms link (and search terms page)
           ADMIN: System->Configuration->Catalog tabCSEO 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/edit the Copyright notice:
ADMIN: System -> Configuration -> Design tab -> Footer panel. Edit
or delete the contents of the "Copyright" field.


Newsletter:    ADMIN: System -> Configuration -> Advanced tab. Set
“Mage_Newsletter” to "Disable."


Poll:   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”.



IF YOU REQUIRE ANY OTHER DEFAULT CONTENT TO BE REMOVED JUST WRITE BELOW I WILL SOLVE YOUR PROBLEM.;)







No comments:

Post a Comment