ganima
10-18-2009, 02:44 PM
Hi there.
I am using an addon to sort profilefields on /memberlist.php.
Addon: https://vborg.vbsupport.ru/showthread.php?t=124580&page=2
Unfortunately it does have only the ability to sort one way ? ASC or DESC. But I want it to change every click, like other fields (User, Last Post etc.).
In my template I tried
<if condition="$get['order'] == 'ASC'">
<td class="thead" nowrap="nowrap"><a href="$sorturl&order=DESC&sort=mitgliednummer&pp=$perpag e$usergrouplink">Mitglied-Nr</a> $sortarrow[mitgliednummer]</td>
<else />
<td class="thead" nowrap="nowrap"><a href="$sorturl&order=ASC&sort=mitgliednummer&pp=$perpage $usergrouplink">Mitglied-Nr</a> $sortarrow[mitgliednummer]</td>
</if>
It seems I can not access GET variables in my template?! How can I?
Does anybody have an idea how I can change ASC to DESC and reverse?
Hope for some help. Thanks!!
I am using an addon to sort profilefields on /memberlist.php.
Addon: https://vborg.vbsupport.ru/showthread.php?t=124580&page=2
Unfortunately it does have only the ability to sort one way ? ASC or DESC. But I want it to change every click, like other fields (User, Last Post etc.).
In my template I tried
<if condition="$get['order'] == 'ASC'">
<td class="thead" nowrap="nowrap"><a href="$sorturl&order=DESC&sort=mitgliednummer&pp=$perpag e$usergrouplink">Mitglied-Nr</a> $sortarrow[mitgliednummer]</td>
<else />
<td class="thead" nowrap="nowrap"><a href="$sorturl&order=ASC&sort=mitgliednummer&pp=$perpage $usergrouplink">Mitglied-Nr</a> $sortarrow[mitgliednummer]</td>
</if>
It seems I can not access GET variables in my template?! How can I?
Does anybody have an idea how I can change ASC to DESC and reverse?
Hope for some help. Thanks!!