Magento get url with or without parameters
Magento lets you get url with or without parameters as below:
// get base url Mage::getUrl() // http://dltr.org/
Magento lets you get url with or without parameters as below:
// get base url Mage::getUrl() // http://dltr.org/
You can easily create a cms page in magento programmatically. Useful when you need to upload a bunch of pages from csv file. Here I haven't created a csv parser but just a simple code to save a cms page.
My file path: /magento/cms-page.php
You can easily create a static block in magento programmatically. Useful when you need to upload a bunch of blocks from csv. Here I haven't created a parser but just a simple code to save a block.
My file path: /magento/static-block.php