- Posts: 3
Tips & Tricks
Please do NOT use this section of the forum to request help if Joomdle does not work for you in some particular way. Your post will be deleted.
Please do NOT use this section of the forum to request help if Joomdle does not work for you in some particular way. Your post will be deleted.
How to include new filter in users manage screen?
- bensonrj
- Topic Author
- Offline
- New Member
-
Less
More
9 years 11 months ago #1
by bensonrj
How to include new filter in users manage screen? was created by bensonrj
Hello!
Thanks for this amazing plugin.
I am using since 2014 and it behave absolutely fine until now.
Well, my case is the following...
We have a installation working fine.
But, when we are using the user import file (xls), for example. We have a problem with this integration.
So, to contour this problem, we made this steps to solve this limitation.
1 the authentication in import user file is set to "manual" instead "joomdle"
2: In the users manager in (joomla side) joomdle plugin we made the sinc and migrate manually.
This is ok for me, but, I miss more filter options.
Now we have 4 to show:
FIlter:
Joomla users
Moodle users
Joomdle users
Joomdle users not exists.
How to include a new filter in list?
For example:
Not joomdle and Not joomla users exists. (to be user manager faster)
Where is the file to append this query in database?
So,
Thanks for help .
Best Regards
Thanks for this amazing plugin.
I am using since 2014 and it behave absolutely fine until now.
Well, my case is the following...
We have a installation working fine.
But, when we are using the user import file (xls), for example. We have a problem with this integration.
So, to contour this problem, we made this steps to solve this limitation.
1 the authentication in import user file is set to "manual" instead "joomdle"
2: In the users manager in (joomla side) joomdle plugin we made the sinc and migrate manually.
This is ok for me, but, I miss more filter options.
Now we have 4 to show:
FIlter:
Joomla users
Moodle users
Joomdle users
Joomdle users not exists.
How to include a new filter in list?
For example:
Not joomdle and Not joomla users exists. (to be user manager faster)
Where is the file to append this query in database?
So,
Thanks for help .
Best Regards
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
9 years 11 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic How to include new filter in users manage screen?
Hi.
I guess you are importing users in Moodle, right? Did you try setting auth method to joomdle instead of manual, using latest Joomdle versions? This was not workig fine before, but should work now.
Adding a new filter is not that easy, as you would need to modify model code.
I guess you are importing users in Moodle, right? Did you try setting auth method to joomdle instead of manual, using latest Joomdle versions? This was not workig fine before, but should work now.
Adding a new filter is not that easy, as you would need to modify model code.
Please Log in or Create an account to join the conversation.
- bensonrj
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 3
9 years 11 months ago #3
by bensonrj
Yes, I want to add new filter. I want simple to modify the code to show this new filter.
I try import with auth method to joomdle and the passwords sent in import process but this not working. Only Manual auth method works.
This is not a complain. I think joomdle is very useful to make things , but, could be a little more flexible the user manager tool.
Can you sent me a path to file where I could make the modification?
So, thanks for help anyway.
Best Regards
Alex
Replied by bensonrj on topic How to include new filter in users manage screen?
Hi Antonio!Antonio Durán wrote: Hi.
I guess you are importing users in Moodle, right? Did you try setting auth method to joomdle instead of manual, using latest Joomdle versions? This was not workig fine before, but should work now.
Adding a new filter is not that easy, as you would need to modify model code.
Yes, I want to add new filter. I want simple to modify the code to show this new filter.
I try import with auth method to joomdle and the passwords sent in import process but this not working. Only Manual auth method works.
This is not a complain. I think joomdle is very useful to make things , but, could be a little more flexible the user manager tool.
Can you sent me a path to file where I could make the modification?
So, thanks for help anyway.
Best Regards
Alex
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
9 years 11 months ago - 9 years 11 months ago #4
by Antonio Durán
Replied by Antonio Durán on topic How to include new filter in users manage screen?
Hi Alex, thanks for the kind words about Joomdle.
Code for this is in several files:
administrator/components/com_joomdle/helpers/users.php, getStateOptions() function, called from the users view to show options
administrator/components/com_joomdle/models/users.php
administrator/components/com_joomdle/helpers/content.php, where there are helper functions called from the model
Hope that helps.
Code for this is in several files:
administrator/components/com_joomdle/helpers/users.php, getStateOptions() function, called from the users view to show options
administrator/components/com_joomdle/models/users.php
administrator/components/com_joomdle/helpers/content.php, where there are helper functions called from the model
Hope that helps.
Last edit: 9 years 11 months ago by Antonio Durán.
Please Log in or Create an account to join the conversation.
- bensonrj
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 3
9 years 11 months ago #5
by bensonrj
Replied by bensonrj on topic How to include new filter in users manage screen?
Hi Antonio!
Thanks for Help.
I will try to change this code, and when I make this successfully I will sent the results to you.
Big Hug!
Alex
Thanks for Help.
I will try to change this code, and when I make this successfully I will sent the results to you.
Big Hug!
Alex
Please Log in or Create an account to join the conversation.