- Posts: 2
Postings
You can freely browse the forum and post in the community forum.
However, you need a valid license to write posts for support (own a valid commercial software license or have purchased a support membership).
Posts only show once reviewed. This is mainly preventive to keep spam away. Thank you for your understanding!
pagination not working
- McDougall
-
Topic Author
- New Member
-
Less
More
IP: 86.10.98.210
13 years 8 months ago #1804
by McDougall
pagination not working was created by McDougall
Hello,
I've encountered a problem with enabling pagination - the script fails with:
Uncaught TypeError: Object [object Object] has no method 'easyPaginate' news.html:29
You can see it for example here: medical-insight.com/news.html
Is there any way I can fix it by myself? I already tried some experiments but with no luck.
Thanks.
I've encountered a problem with enabling pagination - the script fails with:
Uncaught TypeError: Object [object Object] has no method 'easyPaginate' news.html:29
You can see it for example here: medical-insight.com/news.html
Is there any way I can fix it by myself? I already tried some experiments but with no luck.
Thanks.
- admin
-
- Administrator
-
Less
More
- Posts: 1931
IP: 207.229.131.129
13 years 8 months ago - 13 years 8 months ago #1807
by admin
Olivier.
Replied by admin on topic Re: pagination not working
Hello,
this is strange, there is no error when I look at it. What browser are you using? There seem to be no pagination here because there are 10 news items and you set up the cutting up point at 10 items. I would also suggest you download the update as it seems you are not running the latest version of the module. It handles jQuery scripts differently.
this is strange, there is no error when I look at it. What browser are you using? There seem to be no pagination here because there are 10 news items and you set up the cutting up point at 10 items. I would also suggest you download the update as it seems you are not running the latest version of the module. It handles jQuery scripts differently.
Olivier.
Last edit: 13 years 8 months ago by admin.
- McDougall
-
Topic Author
- New Member
-
Less
More
- Posts: 2
IP: 86.10.98.210
13 years 8 months ago #1808
by McDougall
Replied by McDougall on topic Re: pagination not working
Aha, ok, updated to newest version... but the error is still the same.
I've changed the article count to 20, pagination to 10. I'm using lastest stable chrome and firefox on linux.
....ready(function($) {$(".latestnewsenhanced_134 ul.newsitems").easyPaginate({ ...news.html line 30)
TypeError: syw is not a function
....ready(function($) {$(".latestnewsenhanced_134 ul.newsitems").easyPaginate({ ...news.html (line 30)
I've changed the article count to 20, pagination to 10. I'm using lastest stable chrome and firefox on linux.
....ready(function($) {$(".latestnewsenhanced_134 ul.newsitems").easyPaginate({ ...news.html line 30)
TypeError: syw is not a function
....ready(function($) {$(".latestnewsenhanced_134 ul.newsitems").easyPaginate({ ...news.html (line 30)
- admin
-
- Administrator
-
Less
More
- Posts: 1931
IP: 207.229.131.129
13 years 8 months ago #1810
by admin
Olivier.
Replied by admin on topic Re: pagination not working
I think the issue is in the ordering of the library loading. What I do not understand is why the module's libraries are loading before your template's. I do have a test running right now with the Joomla! 3+ default template (loading bootstrap) and the loading is correct there. I will get back to you as soon as I get a hint why this happens.
Olivier.
- admin
-
- Administrator
-
Less
More
- Posts: 1931
IP: 207.229.131.129
13 years 8 months ago #1812
by admin
Olivier.
Replied by admin on topic Re: pagination not working
Actually, I would be curious to see the 'index.php' file from your template. Can you send it at [email protected]? Thank you.
Olivier.
