- Posts: 3
User list in Joomdle not complete
- Ong Yew Seng
- Topic Author
- Offline
- New Member
-
Less
More
12 years 3 months ago #1
by Ong Yew Seng
User list in Joomdle not complete was created by Ong Yew Seng
Hi,
I installed Joomdle in a test website www2.techknowledgeservices.com to connect to the moodle site. The Health Check all items passed.
I am able to see the first page of Joomdle User list, but some problems I observe:
1. The User ID come with - (minus sign) before the ID, and
2. The user list only show first page (list of 20 users), even though the page links at the bottom shows 4 pages. I have 70 users in moodle.
How can I solve the problem to see the rest of the users?
I am using the lastest version of Moodle, and Joomdle. Joomla is the latest version of Joomla 3.
Thanks...
OYS
I installed Joomdle in a test website www2.techknowledgeservices.com to connect to the moodle site. The Health Check all items passed.
I am able to see the first page of Joomdle User list, but some problems I observe:
1. The User ID come with - (minus sign) before the ID, and
2. The user list only show first page (list of 20 users), even though the page links at the bottom shows 4 pages. I have 70 users in moodle.
How can I solve the problem to see the rest of the users?
I am using the lastest version of Moodle, and Joomdle. Joomla is the latest version of Joomla 3.
Thanks...
OYS
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7902
12 years 3 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic User list in Joomdle not complete
1. minus sign before ID indicates that this is a Moodle user id, instead of joomla (as the user is only present in Moodle)
2. Do you mean you don't get "Next" button? Can't you click on the other pages?
2. Do you mean you don't get "Next" button? Can't you click on the other pages?
Please Log in or Create an account to join the conversation.
- Ong Yew Seng
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 3
12 years 3 months ago #3
by Ong Yew Seng
Replied by Ong Yew Seng on topic User list in Joomdle not complete
There is next and page number buttons. However, when clicked, it will remain at the first page data.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7902
12 years 3 months ago #4
by Antonio Durán
Replied by Antonio Durán on topic User list in Joomdle not complete
Now that I remember, I think I already fixed that for next release.
To fix it, open: administrator/components/com_joomdle/models/users.php
Function: populateState ()
Change:
By:
And:
By:
To fix it, open: administrator/components/com_joomdle/models/users.php
Function: populateState ()
Change:
Code:
$state = $this->getUserStateFromRequest($this->context.'.filter.state', 'filter_state', '*');
Code:
$state = $this->getUserStateFromRequest($this->context.'.filter.state', 'filter_state', '');
And:
Code:
if ($state == '*')
Code:
if ($state == '')
Please Log in or Create an account to join the conversation.
- Ong Yew Seng
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 3
12 years 3 months ago #5
by Ong Yew Seng
Replied by Ong Yew Seng on topic User list in Joomdle not complete
Hi, Antonio,
Yes, is working now after I edited the code... thanks a lot!!
Regards,
OYS
Yes, is working now after I edited the code... thanks a lot!!
Regards,
OYS
Please Log in or Create an account to join the conversation.