I’m having trouble with getting results I expect to get with $this->getSkinUrl()
I tried to change Store View switch from drop down menu to flags. Used the code I found here in forums written by Jorg:
<?php if (count($this->getStores()) > 1) : ?>
<?php foreach ($this->getStores() as $_lang) : ?>
<a href="<?php echo $_lang->getCurrentUrl(); ?>"><img src="<?php echo $this->getSkinUrl('images/flag_' . $this->htmlEscape($_lang->getCode()) . '.gif'); ?>" width="16" height="11"
alt="<?php echo $this->htmlEscape($_lang->getName()); ?>" /></a>
<?php endforeach; ?>
<?php endif; ?>
What I get as image URL is always “[..]default/default[..]” while it should be “[..]default/mytheme[..]”.
I’ve changed everything to “mytheme” in Configuration, but I’m still stuck. I checked <head></head> part of the output HTML, and it contains both - icon file is from “default/default” while some CSS files are from “default/mytheme”.
If that helps - I’m modifying Blank theme.