Magento how can I get URL path in static blocks

Here,simple script to get base url, store url, media url, skin url in magento.You can use this method in your static blocks in magento.

1- Base URL

2- Get Store URL

3- Get Skin URL

4- Get Media URL

Published by

Sumith Harshan

Sumith Harshan is the Web Engineer Specializes in Java Script, JQuery, HTML4/5, CSS2/3, PHP, CodeIgniter, CakePHP, J2SE, J2EE, XML, Hacking & Security, Mobile Interface Developing, Magento, Wordpress, Joomla, Drupal,PHPBB,Facebook App Developing and Open cart...etc.