Display# ALL not working (only shows 20 entries)
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
- johnvonahlen
- Joomla! Apprentice
- Posts: 7
- Joined: Thu Jun 09, 2011 9:47 am
- Location: Melbourne, Australia
- Contact:
Display# ALL not working (only shows 20 entries)
In Joomla 2.5 backend whenever I set the "Display#" to ALL, it only shows 20 entries in certain components.
For instance, when using sh404SEF when I select "Display ALL" it automatically goes to "display 20" and shows 20 entries.
If I select "display 100" then it will show 100 entries.
At no stage can I get it to display all entries.
Same for JNews. If I select "Display All" Subscribers it only shows 20 entries. If I select "Display 100" then 100 will show.
The K2 component doesn't suffer from this bug. The "Display All" works fine here for all items, categories, etc.
In native Joomla, the "Display All" also works fine, and correctly displays all articles, categories, modules, plugins etc.
Can someone help me?
Thanks,
John.
For instance, when using sh404SEF when I select "Display ALL" it automatically goes to "display 20" and shows 20 entries.
If I select "display 100" then it will show 100 entries.
At no stage can I get it to display all entries.
Same for JNews. If I select "Display All" Subscribers it only shows 20 entries. If I select "Display 100" then 100 will show.
The K2 component doesn't suffer from this bug. The "Display All" works fine here for all items, categories, etc.
In native Joomla, the "Display All" also works fine, and correctly displays all articles, categories, modules, plugins etc.
Can someone help me?
Thanks,
John.
-
- Joomla! Virtuoso
- Posts: 4025
- Joined: Mon Nov 25, 2013 4:35 pm
- Location: Montreal, Canada
- Contact:
Re: Display# ALL not working (only shows 20 entries)
This is a bug in the extensions that you've mentioned (sh404SEF and JNews). I have to say that I'm leaning towards saying that sh404SEF are doing this on purpose, because many websites using sh404SEF have thousands of pages, so, selecting "All" would crash the backend (sh404SEF is very slow when loading the URLs in the backend).
Unless you intend on fixing these bugs in the code, there's not much you can do to resolve this issue.
Unless you intend on fixing these bugs in the code, there's not much you can do to resolve this issue.
http://www.itoctopus.com - Joomla consulting at its finest
https://twitter.com/itoctopus - Follow us on Twitter
https://twitter.com/itoctopus - Follow us on Twitter
- johnvonahlen
- Joomla! Apprentice
- Posts: 7
- Joined: Thu Jun 09, 2011 9:47 am
- Location: Melbourne, Australia
- Contact:
Re: Display# ALL not working (only shows 20 entries)
Thanks for the quick reply.
OK that makes sense.
I am reluctant to play around with sh404SEF, but I'd happily hack away at jNews
Do you happen to know the code that I need to modify?
OK that makes sense.
I am reluctant to play around with sh404SEF, but I'd happily hack away at jNews
Do you happen to know the code that I need to modify?
-
- Joomla! Virtuoso
- Posts: 4025
- Joined: Mon Nov 25, 2013 4:35 pm
- Location: Montreal, Canada
- Contact:
Re: Display# ALL not working (only shows 20 entries)
You will need to check the view.html.php file under the respective view (in the administrator/components/com_jnews folder. Check the view.html.php file of a working view and see what is different (missing).
http://www.itoctopus.com - Joomla consulting at its finest
https://twitter.com/itoctopus - Follow us on Twitter
https://twitter.com/itoctopus - Follow us on Twitter
- johnvonahlen
- Joomla! Apprentice
- Posts: 7
- Joined: Thu Jun 09, 2011 9:47 am
- Location: Melbourne, Australia
- Contact:
Re: Display# ALL not working (only shows 20 entries)
OK fantastic. Thanks for your help itoctopus!
If I happen to find a fix I will post it here
Cheers, John
If I happen to find a fix I will post it here
Cheers, John
- johnvonahlen
- Joomla! Apprentice
- Posts: 7
- Joined: Thu Jun 09, 2011 9:47 am
- Location: Melbourne, Australia
- Contact:
Re: Display# ALL not working (only shows 20 entries)
Further searching found that this issue cannot be fixed (at least not by me).
It's a limitation built into Joomla according to the developers of jNews >
http://www.joobi.co/support/ticket-supp ... 624&pjid=4
It's a limitation built into Joomla according to the developers of jNews >
http://www.joobi.co/support/ticket-supp ... 624&pjid=4
-
- Joomla! Virtuoso
- Posts: 4025
- Joined: Mon Nov 25, 2013 4:35 pm
- Location: Montreal, Canada
- Contact:
Re: Display# ALL not working (only shows 20 entries)
I'm not so sure about that (that it can't be fixed). Virtually any Joomla setting can be overridden in the code.
http://www.itoctopus.com - Joomla consulting at its finest
https://twitter.com/itoctopus - Follow us on Twitter
https://twitter.com/itoctopus - Follow us on Twitter
- kenmcd
- Joomla! Champion
- Posts: 5672
- Joined: Thu Aug 18, 2005 2:09 am
- Location: California
- Contact:
Re: Display# ALL not working (only shows 20 entries)
The J2XML Exporter component for J1.5 included a plug-in which added 500 and 1000 to the display options.
This made it easier to select large numbers of articles, etc. to export.
So that system plug-in could be a good example of how to override that select list.
If you cannot find it on their website I think I have it here somewhere.
██ LibreTraining
- johnvonahlen
- Joomla! Apprentice
- Posts: 7
- Joined: Thu Jun 09, 2011 9:47 am
- Location: Melbourne, Australia
- Contact:
Re: Display# ALL not working (only shows 20 entries)
Hi Kenmcd,
Thanks I had a look on their website and couldn't find it.I downloaded all the 1.5 and 3x versions and none of the components had any options or changed the list view.
Can you email it to me please? My username @ hotmail thanks
Thanks I had a look on their website and couldn't find it.I downloaded all the 1.5 and 3x versions and none of the components had any options or changed the list view.
Can you email it to me please? My username @ hotmail thanks
- kenmcd
- Joomla! Champion
- Posts: 5672
- Joined: Thu Aug 18, 2005 2:09 am
- Location: California
- Contact:
Limit 500 plug-in - files attached
The good news ... I found it installed on some old testing sites, and there is a J2.5 (J1.7) version too.
But I did not remember everything correctly, it only adds 500 to the limit list selector.
Obviously that number is easy to modify in the plug-in code.
Files are attached below:
Note: I did not test installing these. I just zipped-up the files.
But I do expect that they will install without any issues.
There were no language files (I did not comment that out in the J1.7 XML file).
Please come back and report your results so we know if this helped work around the problem.
And attach any updated J2.5 or J3.x plug-in, if any, for others to benefit too.
You do not have the required permissions to view the files attached to this post.
Last edited by kenmcd on Sat Jul 26, 2014 9:18 pm, edited 2 times in total.
██ LibreTraining
- johnvonahlen
- Joomla! Apprentice
- Posts: 7
- Joined: Thu Jun 09, 2011 9:47 am
- Location: Melbourne, Australia
- Contact:
Re: Display# ALL not working (only shows 20 entries)
Thanks KenMCD,
I'll try these out today and let you know the result.
I'll try these out today and let you know the result.
- johnvonahlen
- Joomla! Apprentice
- Posts: 7
- Joined: Thu Jun 09, 2011 9:47 am
- Location: Melbourne, Australia
- Contact:
Re: Display# ALL not working (only shows 20 entries)
KenMCD - it installs in Joomla! 2.5.14 without any problems.
Works with - sh404SEF
Doesn't work with - RS Membership
Partially works with - JNews (displays 200 subscribers, even though 500 is selected)
Thanks so much for this.
It's not exactly what I was after, but at least a good step in the right direction
Cheers, John
Works with - sh404SEF
Doesn't work with - RS Membership
Partially works with - JNews (displays 200 subscribers, even though 500 is selected)
Thanks so much for this.
It's not exactly what I was after, but at least a good step in the right direction
Cheers, John