- Posts: 23
- Thank you received: 0
Membership pro backend filter
- reiyo
- Topic Author
- Offline
- Junior Member
-
Less
More
10 years 3 weeks ago - 10 years 3 weeks ago #60311
by reiyo
Membership pro backend filter was created by reiyo
Hi,
I would like to thank you again for this great extension
I just have one thing the way the data is displayed in backend and add a country filter so I can choose people by country and know who registered from this country?
Where can I find this file? in subscribers tab I need to add filters and change the info displayed in table
I would like to thank you again for this great extension

I just have one thing the way the data is displayed in backend and add a country filter so I can choose people by country and know who registered from this country?
Where can I find this file? in subscribers tab I need to add filters and change the info displayed in table
Last edit: 10 years 3 weeks ago by reiyo.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
10 years 3 weeks ago #60334
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Membership pro backend filter
Hi
You will need to modify code in several places:
1. administrator/components/com_osmembership/views/subscribers/tmpl/default.php to add filter dropdown
2. administrator/components/com_osmembership/models/subscribers.php to edit the SQL query to only get subscribers from the selected country in the dropdown above
Tuan
You will need to modify code in several places:
1. administrator/components/com_osmembership/views/subscribers/tmpl/default.php to add filter dropdown
2. administrator/components/com_osmembership/models/subscribers.php to edit the SQL query to only get subscribers from the selected country in the dropdown above
Tuan
Please Log in or Create an account to join the conversation.
- reiyo
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 23
- Thank you received: 0
10 years 3 weeks ago - 10 years 3 weeks ago #60349
by reiyo
Replied by reiyo on topic Membership pro backend filter
I was on administrator/components/com_osmembership/views/subscribers/tmpl/default.php
and added the country list also I modified this file views/subscribers/view.html.php to get the country list from #__osmembership_countries
then I tried to modify this file
administrator/components/com_osmembership/models/subscribers.php
but the countries drop down list kept resetting by itself no idea why!
Anyway I changed my mind and added the country column to the __construct function in the $config [ 'search_fields' ] array and that was the easiest so now I can type any country name and I will get the result!
Thank you Tuan
and added the country list also I modified this file views/subscribers/view.html.php to get the country list from #__osmembership_countries
then I tried to modify this file
administrator/components/com_osmembership/models/subscribers.php
but the countries drop down list kept resetting by itself no idea why!
Anyway I changed my mind and added the country column to the __construct function in the $config [ 'search_fields' ] array and that was the easiest so now I can type any country name and I will get the result!
Thank you Tuan
Last edit: 10 years 3 weeks ago by reiyo.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
10 years 3 weeks ago #60361
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Membership pro backend filter
@reiyo: I think it resets itself because you did something wrong with your code. If you want, you can submit a support ticket and I can help you with that bit of code
Tuan
Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.