Monday, April 4, 2011

Putting alt text or title on Easyflag Magento Module

The EasyFlag Module for magento is free and can be downloaded using magento connect.

Here is the link

http://www.magentocommerce.com/magento-connect/TemplatesMaster/extension/1481/magento-easyflags


But the client want to put some alternate text when you try to hover unto the flags to know want country it is.
Actually it in just pretty simple and straight forward, so here's what I did.


I added title="htmlEscape($_lang->getName()) ?> right after initializing the "tag.
here's the original code.

getStores())>1): ?>




and here's the code after.

getStores())>1): ?>

getStores() as $_lang): ?>
<?php echo $this->htmlEscape($_lang->getName()) ?>






hope this helps even a little. :)

Cheers,
Spawn

No comments:

Post a Comment