TsinJu
Well-known member
There is an Error with Links from "Filter by Area"
Area Links containing index.php 2 times. One would be enough
h**p://my.domain.com/index.php?index/index.php?classifieds/categories/&country=DE&category_id=5&category_title=Sony+Playstation
Thats how it should be
http://my.domain.com/index.php?classifieds/&country=DE&category_id=5&category_title=Sony+Playstation
Thats the Code but i have no Idea what to change to get index.php just once
Area Links containing index.php 2 times. One would be enough

h**p://my.domain.com/index.php?index/index.php?classifieds/categories/&country=DE&category_id=5&category_title=Sony+Playstation
Thats how it should be
http://my.domain.com/index.php?classifieds/&country=DE&category_id=5&category_title=Sony+Playstation
Thats the Code but i have no Idea what to change to get index.php just once
Code:
<xen:if is="{$countries}">
<div class="secondaryContent countryList">
<h3>{xen:phrase filter_by_area}</h3>
<ol>
<xen:foreach loop="$countries" value="$country">
<li class="{xen:if $country.selected, 'selected'}">
<a href="{xen:link $pageLink, '', '_params={$pageNavParams}', 'country={$country.code}', 'area='}">{$country.title}</a>
<span class="count">{xen:number $country.count}</span>
<xen:if is="{$country.areas}">
<ol>
<xen:foreach loop="$country.areas" value="$area">
<li class="{xen:if $area.selected, 'selected'}">
<a href="{xen:link $pageLink, '', '_params={$pageNavParams}', 'area={$area.title}'}">{$area.title}</a>
<span class="count">{xen:number $area.count}</span>
</li>
</xen:foreach>
</ol>
</xen:if>
</li>
</xen:foreach>
</ol>
</div>
</xen:if>