There are some default good practice when installing/configure a server and I think is good to follow them and improve where is possible. I tend to use [ apt ] instead of [ apt-get ] as they are almost the same: apt is designed for end-users (human) and its output may be changed between versions > Means the output is…
Get available methods for an object
There are no better shortcuts than a very good study but there's a tip which can help you to get a bit of speed. Have you ever tried to figure out what available methods you can use from a customer model in Magento? Imagine you load the customer into a variable (or the product, order)
1 2 3 4 |
# load the customer $customer = Mage::getModel('customer/customer')->load($params['id']); |
…
Set default home page for Magento
Make sure you created the needed page into this section:
1 2 3 |
CMS > Pages |
Then, the main part, the section where you can set a page as the homepage is located into:
1 2 3 |
System > Configuration > Web [left menu] > Default Pages [section] > CMS Home Page |
Don't forget, if you have a multi store check the values for the appropriate configuration scope (store) [top left menu]