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 / [RESOLVED] Modifiy search query

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.

[RESOLVED] Modifiy search query

More
8 years 4 weeks ago - 8 years 3 weeks ago #24675 by cedcha
[RESOLVED] Modifiy search query was created by cedcha
Hello,

I need to add a field by default in the query for the search and advanced search. I don't want it to appear on the website so i would like to modifiy directly the clause WHERE of the SQL query. In which file and which line should i go to do that ?

Thank you for your help.

Cédric.
Last edit: 8 years 3 weeks ago by loic.
More
8 years 4 weeks ago #24687 by loic
Replied by loic on topic Modifiy search query
Hello,

You can simply add a filter in components/com_adsmanager/views/result/view.html.php.

Find the variable $filters and simply add the one you want to.

Best regards.
More
8 years 4 weeks ago #24691 by cedcha
Replied by cedcha on topic Modifiy search query
Hello,

Thank you very much for your help. I finally found a other way by modifiyng the "select" field in helpers directory.

However i keep your proposal for further developments.

Best regards.

Cédric.
More
8 years 3 weeks ago #24699 by loic
Replied by loic on topic Modifiy search query
Hello,

I close this topic :)

Best regards.
Time to create page: 0.114 seconds
Powered by Kunena Forum