Return to Snippet

Revision: 13830
at May 7, 2009 11:26 by nico65


Initial Code
<?php if(count($this->getStores())>1): ?>
<div class="box box-language">
    <?php foreach ($this->getStores() as $_lang): ?>
        <a href="<?php echo $_lang->getCurrentUrl() ?>"><img src="/skin/frontend/myTemplate/default/images/ar/<?php echo $this->htmlEscape($_lang->getName()) ?>.gif" border="0"></a>
    <?php endforeach; ?>
</div>
<?php endif; ?>

Initial URL
http://www.magentocommerce.com/boards/viewthread/23342/

Initial Description
Magento Storeview über Flaggenbuttons steuern statt über Dropdown

Initial Title
Magento Storeview mit Flaggen

Initial Tags
magento

Initial Language
PHP