Magento Rename Admin Path After Installation


Magento rename admin path

Changing admin path name is one of the important steps to secure your magento store.There is an option to change default admin path during installation.But you can also rename admin path after installation.

To rename admin path,

Goto to /app/etc and  open local.xml file.

Find the text ![CDATA[admin]] in the file(around line no.57).This is the default admin path.

Change admin name to some other name like mystore and save it.

So it will look like ![CDATA[mystore]] and admin url will be

http://www.your-domain.com/mystore

——————

For Magento 1.4.1.1

 

Advertisements

Magento Remove Currency Selector


Go to app/design/frontend/{Your Interface}/{Your theme}/layout/directory.xml
Find the code around line no 44 that looks like this

    <catalog_category_layered>
        <reference name="left">
            <block type="directory/currency" name="currency" before="catalog.leftnav" template="directory/currency.phtml"/>
        </reference>
    </catalog_category_layered>

Comment the code

——————

For Magento 1.4.1.1

Magento Blank Theme Installation Problem


After installing blank theme in magento,an error will appear like this,

Fatal error:Call to a member function toHtml() on a non-object in /app/code/core/Mage/Core/Model/Layout.php on line 529

To fix this error,go to /app/design/frontend/default/blank/layout/ and open page.xml file.

Find the code around line no 89, which looks like this,

<block type="core/profiler" output="toHtml" />

Change it to

<block type="core/profiler" output="toHtml" name="core_profiler"/>