Magento Enterprise comes with a very useful extension to close a Magento site either completely or partially. For example, you can close the entire site until an upgrade is completed or you can lock a store to only registered users. How It Works? When Magento receives a request it starts routing the request through the … Continue reading Magento Website Restrictions
C# Automatically Implemented Properties
Some time ago, we analysed how C# Properties are emitted by IL. In this article we will extend our view by investigating how C# 3 (and later) Automatically Implemented Properties (or Automatic Properties) works. But first, let’s see how these properties are used. In order to use Automatic Properties, one needs only to declare the … Continue reading C# Automatically Implemented Properties
Changing the Magento default admin URL
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
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