MyXoops Forum

Forum - myXOOPS German Support

1 + 7 = ?  
Geben Sie das Ergebnis der Berechnung ein
Sie haben max. 10 Versuche.
 
* = Erforderlich

Aw:: Sortierung nach Postleitzahl in Modul ADDRESSES

Betreff: Aw:: Sortierung nach Postleitzahl in Modul ADDRESSES
von harry27 am 01.02.2010 15:24:07

Hallo Josef,

danke erstmal für die Unterstützung. Die Änderung mit orderby=zip%20ASC alleine bringt nicht den gewünschten Erfolg.

Daher noch

function convertorderbytrans($orderby)
{
if ($orderby == "hits ASC") $orderbyTrans = ""._MD_POPULARITYLTOM."";
if ($orderby == "hits DESC") $orderbyTrans = ""._MD_POPULARITYMTOL."";
if ($orderby == "title ASC") $orderbyTrans = ""._MD_TITLEATOZ."";
if ($orderby == "title DESC") $orderbyTrans = ""._MD_TITLEZTOA."";
if ($orderby == "date ASC") $orderbyTrans = ""._MD_DATEOLD."";
if ($orderby == "date DESC") $orderbyTrans = ""._MD_DATENEW."";
if ($orderby == "rating ASC") $orderbyTrans = ""._MD_RATINGLTOH."";
if ($orderby == "rating DESC") $orderbyTrans = ""._MD_RATINGHTOL."";
// hack LUCIO - start
if ($orderby == "zip ASC") $orderbyTrans = ""._MD_ZIPATOZ."";
if ($orderby == "zip DESC") $orderbyTrans = ""._MD_ZIPZTOA."";
if ($orderby == "city ASC") $orderbyTrans = ""._MD_CITYATOZ."";
if ($orderby == "city DESC") $orderbyTrans = ""._MD_CITYZTOA."";
// hack LUCIO - end
return $orderbyTrans;
}



Gruß und nochmals vielen Dank

Harry27

Aktuell aus dem Forum

Forum Thema Antworten Views Letzter Beitrag
Modulentwicklung New Xoops Xcreate Module 0 4082 26.11.2025 15:22
efkan Gehe zum letzten Beitrag
Modulentwicklung XOOPS Custom Field Module 1 1557 24.11.2025 11:21
Goffy Gehe zum letzten Beitrag