Groupjive pagination issue
- Saka
-
Topic Author
- Offline
- Administrator
-
17 years 4 months ago #1718
by Saka
Emir Sakic
www.sakic.net
Groupjive - 1.5 & 1.6
SEF Advance - any version
Symptom: When you go into a specific group with more than 10 members, and click "member list" pagination links don't work when SEF Advance is on. Even if you click page #2, you will still see page #1.
Cause: This is caused by incorrect use of Joomla!'s pagination class by Groupjive component. You should always send a non-sef link to the pagination class.
Fix:
- Open the file ./components/com_groupjive/groupjive.html.php
- Locate the following code:- Change this line to read:
Now the members list pagination links will work normally.
SEF Advance - any version
Symptom: When you go into a specific group with more than 10 members, and click "member list" pagination links don't work when SEF Advance is on. Even if you click page #2, you will still see page #1.
Cause: This is caused by incorrect use of Joomla!'s pagination class by Groupjive component. You should always send a non-sef link to the pagination class.
Fix:
- Open the file ./components/com_groupjive/groupjive.html.php
- Locate the following code:
$link = sefRelToAbs("index.php?option=com_groupjive&task=member_list&groupid=$gid?Itemid=$Itemid");
$link = "index.php?option=com_groupjive&Itemid=$Itemid&task=member_list&groupid=$gid";
Now the members list pagination links will work normally.
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.