no

How to Get the Base Skin Directory in Magento

Since relative path is not advisable here, I search magento for a function that will get the default skin directory. And I found one: getS...

Since relative path is not advisable here, I search magento for a function that will get the default skin directory. And I found one:

getSkinUrl('relative path')

example: $this->getSkinUrl('images/logo.jpg')

Or within CMS defined blocks


{{skin url="relative path" }}


example: {{skin url="images/logo.jpg" }}

Related

web-platform 1242564391752278440

Post a Comment Default Comments

1 comment

Kozie said...

Thanks a bunch, just what i was looking for ;)

Outsourcing

Are you looking for freelancers in the Philippines? Get in touch.

Donations

If you like what I do, you can support this channel by buying me a coffee. I would be grateful for your contribution! Your donations will help me create more FREE online courses and learning materials for programmers and remote workers.

item