Posted By

dmistriotis on 09/01/10


Tagged


Versions (?)

Retrieving URL paths in Magento


 / Published in: PHP
 

URL: http://activecodeline.com/retrieving-url-paths-in-magento

  1. Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_JS);
  2. // http://magesite.extension/js/
  3. Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_LINK);
  4. // http://magesite.extension/index.php/
  5. Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA);
  6. // http://magesite.extension/media/
  7. Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN);
  8. // http://magesite.extension/skin/
  9. Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB);
  10. // http://magesite.extension/

Report this snippet  

You need to login to post a comment.