Magento installations normally use the URL /admin to access the back-office. To change the admin URL to something different: Open the/app/etc/local.xml file In the section <admin> <routers> <adminhtml> <args> <frontName><![CDATA[admin]]></frontName> </args> </adminhtml> </routers></admin> Change the CDATA value for frontName to the new admin address. For example: to change from /admin to /backoffice <admin> <routers> <adminhtml> … Continue reading Changing the Magento default admin URL
Month: October 2011
Working with Elgg Menu
Menus are an integral part of any website. Elgg defines two classes that help in building and rendering menus. The first class provided is ElggMenuItem. The second class provided is ElggMenuBuilder, which provide methods that help in rendering menus using the ElggMenuItem objects. Adding Items to menu Adding items to a menu requires: Create a … Continue reading Working with Elgg Menu
Magento Reindex Programmatically
The Magento indexing mechanism is one of the core functionalities that improve a site performance. However, when programming bulk imports of data it is ideal to stop the indexing until the import is completed. For two reasons, first the indexing will slow the process, as on each line of data imported a reindex of data … Continue reading Magento Reindex Programmatically