Merhaba, aşağıdaki kodlar gibi bir foreach döngüsü var. Ben burdaki listbox yerine sadece link koymak istiyorum.
Mesala kullanıcı anasayfadayken; Bayi sayfası için tıklayınız yazacak
Kullanıcı bayi sayfasında iken; Normal Mağaza için tıklayınız yazacak

şuan bu şekilde, burası anasayfa;
http://prntscr.com/6e8zkr
bayi sayfası ise bu şekilde;
http://prntscr.com/6e8zz4

benim istediğim ise her iki sayfada da sadece link olsun, listbox olmasına gerek yok.
http://prntscr.com/6e905r

foreach koymadan yaptım, ama bu seferde bayi sayfasına geldiğimde, bayi sayfası için tıklayınız yazıyor onun yerine anasayfa için tıklayınız yazması lazm

<div class="store-switcher">
<label for="select-store"><?php echo $this->__('Select Store:') ?></label>
<select id="select-store" title="<?php echo $this->__('Select Store') ?>" onchange="location.href=this.value">
<?php /*foreach ($this->getStores() as $_store): ?>
<option value="<?php echo $_store->getUrl('') ?>"<?php if($_store->getId()==$this->getCurrentStoreId()): ?> selected="selected"<?php endif; ?>><?php echo $_store->getName() ?></option>
<?php endforeach;*/ ?>
<?php foreach ($this->getGroups() as $_group): ?>
<?php $_selected = ($_group->getId()==$this->getCurrentGroupId()) ? ' selected="selected"' : '' ?>
<option value="<?php echo $_group->getHomeUrl() ?>"<?php echo $_selected ?>><?php echo $this->escapeHtml($_group->getName()) ?></option>
<?php endforeach; ?>
</select>
</div>

umarım anlatabilmişimdir.
Yardım edecek arkadaşlara şimdiden teşekkür ederim.