Magento: Get Url in CMS Pages Or Static Blocks

You can get CMS Static Block urls in following ways:

1) To get Base url in CMS block,

Syntax: {{store url=””}}

2) To get Skin url in CMS block,

Syntax: {{skin url=’images/imageName.jpg’}}

3) To get Media url in CMS block,

Syntax: {{media url=’/imageName.jpg’}}

4) To get Store url in CMS block,

Syntax: {{store url=’mycmspage.html’}}

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s