- Posts: 163
List items has wrong order
- Eric Crichton
-
Topic Author
- Offline
- Elite Member
-
Less
More
17 Sep 2018 08:53 #1
by Eric Crichton
List items has wrong order was created by Eric Crichton
Using the ListItems to show a list of PDF's
Named the PDF's with a leading character (T-Z) to ensure the correct order.
Shown in correct order in Media lists
However the listitems shows them in an entirely different order.
See
www.lancashire-ramblers.org.uk/walks-pro...ived-programmes.html
Using
$dir=new RDirectoryList(array(".pdf"));
$dir->listItems("images/PDFs/RecentHistory");
My guess is it is showing items in the order they are loaded? Rather than alphabetically?
Before I try reloading them, anyone have same issue?
Eric
Named the PDF's with a leading character (T-Z) to ensure the correct order.
Shown in correct order in Media lists
However the listitems shows them in an entirely different order.
See
www.lancashire-ramblers.org.uk/walks-pro...ived-programmes.html
Using
$dir=new RDirectoryList(array(".pdf"));
$dir->listItems("images/PDFs/RecentHistory");
My guess is it is showing items in the order they are loaded? Rather than alphabetically?
Before I try reloading them, anyone have same issue?
Eric
Please Log in or Create an account to join the conversation.
- Ruby Tuesday
-
- Offline
- Administrator
-
Less
More
- Posts: 933
17 Sep 2018 09:40 #2
by Ruby Tuesday
Replied by Ruby Tuesday on topic List items has wrong order
Please login to view the answers
Please Log in or Create an account to join the conversation.
- Ruby Tuesday
-
- Offline
- Administrator
-
Less
More
- Posts: 933
17 Sep 2018 10:08 #3
by Ruby Tuesday
Replied by Ruby Tuesday on topic List items has wrong order
Please login to view the answers
Please Log in or Create an account to join the conversation.
- Eric Crichton
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 163
17 Sep 2018 13:18 #4
by Eric Crichton
Replied by Eric Crichton on topic List items has wrong order
Please login to view the answers
Please Log in or Create an account to join the conversation.
Time to create page: 1.340 seconds
