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
1 |
{{base url='yourstore/yourpage.phtml'}} |
2- Get Store URL
1 |
{{store url='yourpage.phtml'}} |
3- Get Skin URL
1 |
{{skin url='images/image.png'}} |
4- Get Media URL
1 |
{{media url='/image.png'}} |