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 / Support / AdsManager Support / changer l'ordre ads view=list premières le options

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.

changer l'ordre ads view=list premières le options

More
7 years 7 months ago - 7 years 7 months ago #26639 by Blueeyes
bonjour
Comment puis-je modifier l'ordre de la liste des annonces,
changer l'ordre de com_adsmanager&view=list premières options Bring to Top - Highlighted - Featured pour la date si possible

Je veux afficher les options, d'abord celles qu'elles ont Bring to Top - Highlighted - Featured pour la date si possible

alors, qui n'a pas d'options sera le dernier

je le trouve et une fonctionnalité très importante, par rapport à qui l'utilisateur enregistré du site crée des annonces gratuites par rapport à qui paie les options

Merci Avance
Last edit: 7 years 7 months ago by Blueeyes.
More
7 years 7 months ago #26644 by loic
Bonjour,

pour les bring to top, c'est fait automatique car leurs date de création est changée pour les faire remonter.
Pour les deux autres, il faut modifier le code pour rajouter une condition au ORDER BY de la requête dans administrator/components/com_adsmanager/models/contents.php.

Cordialement
More
7 years 7 months ago - 7 years 7 months ago #26649 by Blueeyes
Bonjour
à quel point du code dois-je modifier? , quel genre de ORDER BY?

Merci
Last edit: 7 years 7 months ago by Blueeyes.
More
7 years 7 months ago #26660 by loic
Bonjour,

Dans 'administrator/components/com_adsmanager/models/content.php', ligne 892, vous trouverez la fonction getFilterOrder().

Cette fonction prend par default l'ordre donné à la ligne 899 :
$filter_order = "a.date_created DESC ,a.id ";

C'est cette ligne qu'il vous faut modifier.

Cordialement.
More
7 years 7 months ago #26676 by Blueeyes
Quelles sont les valeurs à mettre (être en premier ordre Bring to Top - Highlighted - Featured )

Merci d'avance de me donner les valeurs à mettre à monter Bring to Top - Highlighted - Featured et après le reste
More
7 years 7 months ago #26685 by loic
Bonjour,

Je vais checker le code pour vous donner les bonnes valeurs.

Vu que je ne suis pas au bureau aujourd'hui, je ne pourrais vous les donner qu'en soirée.

Cordialement.
Time to create page: 0.141 seconds
Powered by Kunena Forum