Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Public Forum / Main Forum / Afficher la liste par ordre alphabetique

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

× OLD Forum post could be checked here : forum.joomprod.com

Afficher la liste par ordre alphabetique

More
12 years 4 months ago #5896 by boost
Bonjour

Je voudrai que par défaut la liste des annonces soit affichée par ordre alphabetique... (headline) au lieu de la date
SANS afficher l'option de tri ....

que modifier dans list/tmpl/defaut ?

Merci du tuyau !

www.bretweb.net
Editeur de : www.bateaux-doccasion.com
Toutes les annonces du nautisme
More
12 years 4 months ago #5901 by tompap
Replied by tompap on topic Afficher la liste par ordre alphabetique
Il faut modifer le modèle pour cela. model/contents.php

la fonction getFilterOrder

il faut renvoyer directement return "a.ad_headline ASC";
More
12 years 4 months ago #5907 by boost
Replied by boost on topic Afficher la liste par ordre alphabetique
merci Tom
mais je ne trouve pas de dossier et fichier model/contents.php
ai je raté quelque chose ?

et peut on faire un override pour eviter les embrouilles futures ?

www.bretweb.net
Editeur de : www.bateaux-doccasion.com
Toutes les annonces du nautisme
More
12 years 4 months ago #5913 by tompap
Replied by tompap on topic Afficher la liste par ordre alphabetique
administrator/components/com_adsmanager :)
More
12 years 4 months ago #5916 by boost
Replied by boost on topic Afficher la liste par ordre alphabetique
OUPS !!! en effet merci

donc ça marche !!!!! pour ceux que cela peut intéresser voici:
remplacer la ligne 176
#affichage tri par ordre alphabetique
#return $filter_order;
par
return $filter_order = "a.ad_headline ASC,a.id ";


mais par contre si je veux trier par prix ASC lorsque je met ça
return $filter_order = "a.ad_price ASC,a.id ";

ça ne marche pas :(

.... encore merci Tom

www.bretweb.net
Editeur de : www.bateaux-doccasion.com
Toutes les annonces du nautisme
More
12 years 4 months ago #5923 by tompap
Replied by tompap on topic Afficher la liste par ordre alphabetique
$filter_order = "a.ad_price * 1 ASC,a.id ";
Moderators: perry
Time to create page: 0.053 seconds
Powered by Kunena Forum