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 / ADs displaying by price descendant

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

ADs displaying by price descendant

More
8 years 4 months ago #22899 by boost
ADs displaying by price descendant was created by boost
Hello
I don't remenber how to set the defaut displaying for ads listing ...
I would like to display the ads by price descendant ...
please Can you help me to set ???

I have filled this info into the /administrator/components/com_adsmanager/models/content.php but it doesn't works :(
else
{
//a.ordering DESC TODO
//$filter_order = "a.ordering DESC, a.date_created ".$orderdir." ,a.id ";
$filter_order = "a.date_created ".$orderdir." ,a.id ";
}
return $filter_order;
$filter_order = "a.ad_price DESC ,a.id ";
}

/**
* Prepare Mail Content, parse tags,etc..

thank you

www.bretweb.net
Editeur de : www.bateaux-doccasion.com
Toutes les annonces du nautisme
More
8 years 4 months ago #22901 by boost
Replied by boost on topic ADs displaying by price descendant
Is it something special into ADSCLARITY ? because even I delete the content.php nothing happens !

Thank's for informations

www.bretweb.net
Editeur de : www.bateaux-doccasion.com
Toutes les annonces du nautisme
More
8 years 4 months ago #22917 by loic
Replied by loic on topic ADs displaying by price descendant
Hello,

When you delete content.php nothing happen ? It must caused a fatal error in all the adsManager page.
Are you sure you check the correct website ?

Otherwise, try to put your order code before the return line, like that :
$filter_order = "a.ad_price DESC ,a.id ";
return $filter_order;

the return key word exit the function and return the linked value.

Best regards.
More
8 years 4 months ago #22926 by boost
Replied by boost on topic ADs displaying by price descendant
Sorry but your solution doesn't works

another ? I sent you the content.php by mail

www.bretweb.net
Editeur de : www.bateaux-doccasion.com
Toutes les annonces du nautisme
More
8 years 4 months ago #22933 by loic
Replied by loic on topic ADs displaying by price descendant
Hello,

I answered you by email.

Best regards.
Moderators: perry
Time to create page: 0.122 seconds
Powered by Kunena Forum