• Magento - Add a Top Link

    Posted on December 22, 2012 by Nimrod Techn

    Go to the layout directory in app/design/frontend/default/* (your current theme), edit your module's xml (if not there, copy from base directory) and add the following:

            <default>
    		<reference name="top.links">
    			<action method="addLink" translate="label title">
    				<label>Home</label>
    				<url>http://www.engineer-ing.com/</url>
    				<title>Home</title>
    			</action>
    		</reference>
    	</default>

    This post was posted in Writing a Magento Extension

  • Disable Breadcrumbs in Magento

    Posted on December 22, 2012 by Nimrod Techn

    Go to the layout directory in app/design/frontend/default/* (your current theme), edit page.xml (if not there, copy from base directory) and modify the following:

    Change:

    <block type="page/html_breadcrumbs" name="breadcrumbs" as="breadcrumbs"/>

    To:

    <!-- <block type="page/html_breadcrumbs" name="breadcrumbs" as="breadcrumbs"/> -->

     


    This post was posted in Speeding Up your Magento Website

  • Deactivate Magento Visitor Logs

    Posted on December 22, 2012 by Nimrod Techn

    Magento can be a beast. Every time a potential customer visits the website, several SQL queries run to log his details in the DB.
    Not only that this is unnecessary (most of the details, except for the IP, are tracked by Google Analytics anyway), this could be a serious performance issue.

    How to deactivate?

    Copy /app/code/core/Mage/Log/Model/Visitor.php

    To: /app/code/local/Mage/Log/Model/Visitor.php

     

    Change the 4th line:

    protected $_skipRequestLogging = false;

    To:

    protected $_skipRequestLogging = true;


    This post was posted in Speeding Up your Magento Website

Items 1 to 3 of 22 total

Page:
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. ...
  7. 8
Magento is a well-engineered eCommerce platform designed to help engineers develop customized eCommerce online stores. Due to lack of proper coding documentation, Engineer-ing.com was created with the sole purpose of instructing Magento developers to-be with the "how-to-do" know-how. In the event of unresolved issues, you are more than welcome to contact me for consultation. However, please do so only if you possess a Software Engineering background and you're able to specify your question.