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 / field ad_location should be a filter like date

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

field ad_location should be a filter like date

More
8 years 11 months ago #20260 by waheed146
I am working for a website based sj live template adsmanger component. I need to add a filter in list view for filtering of a field ad_location. i have write code to create a dropdown for all locations and each option value is like below
<?php echo TRoute::_("index.php?option=com_adsmanager&view=list&catid=".$this->catid."&ad_location=".$fields->fieldvalueid); ?>
but when i select an option the url becomes like this
index.php/ads-manager/6-verktyg-foer-fordon?ad_location=58
or
index.php/ads-manager/6-verktyg-foer-fordon?ad_location=paris
but page reload with the same result as it was before.
I have select "Ads can be sorted by this field?" for location field yes.

please instruct me how do i acheive this so that a specific categorie can be filtered on the bases of location.

thanks in advance.
The following user(s) said Thank You: adarr
More
8 years 11 months ago #20271 by loic
Hello,

The seach page must be called like this : index.php?option=com_adsmanager&view=search&new_search=1&ad_location=paris

Best regards.
The following user(s) said Thank You: adarr, waheed146
More
8 years 11 months ago #20274 by waheed146
Replied by waheed146 on topic field ad_location should be a filter like date
thanks for the reply.

actually i m looking for the page remains the same list view or the search should include the categories in which page i was already
The following user(s) said Thank You: adarr
More
8 years 11 months ago #20293 by loic
Hello,

The list view and the search view are two different views and the filters cannot be applied in the list view.
We are currently working merge those two views but for now they work like that.

Best regards.
The following user(s) said Thank You: adarr
More
8 years 11 months ago #20311 by waheed146
Replied by waheed146 on topic field ad_location should be a filter like date
Thanks for reply.

is it possible can we use current category and and ad_locatino to filter the result.

like in this code
index.php?option=com_adsmanager&view=search&new_search=1&ad_location=paris
can we add current category as well to this search code?
The following user(s) said Thank You: adarr
More
8 years 11 months ago #20319 by loic
Hello,

You can add the category by adding '&catid=2' in the URL.

Best regards.
The following user(s) said Thank You: adarr
Moderators: perry
Time to create page: 0.247 seconds
Powered by Kunena Forum