- Posts: 5
COMMUNITY FORUM
Another Item Ordering Question
- acymru
- Topic Author
- Offline
- New Member
Less
More
8 years 5 months ago #149330
by acymru
Replied by acymru on topic Another Item Ordering Question
Featured ordering isn't working in my case. I've set all items to Featured, and set the menu item to Order by Featured. I've confirmed in the database that the featured_ordering column in #__k2_items contains the proper values. However, the front end display does not match. I've posted to imgur a screenshot of a direct db query listing items by featured_ordering and a screenshot of the live display.
imgur.com/a/M6QVg
imgur.com/a/M6QVg
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
8 years 5 months ago #149345
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Another Item Ordering Question
Ensure that you are editing the correct settings in the correct place. In order to have featured sorting enabled you need to show only featured items in the specific page and set "Item Ordering" to "Ordering".
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Paul Uhl
- Offline
- Junior Member
Less
More
- Posts: 21
8 years 5 months ago #149382
by Paul Uhl
Replied by Paul Uhl on topic Another Item Ordering Question
Ive been trying to get this to work and haven’t been able to get anything to happen. With all articles set to Featured, I’ve:
1) Menu: Under Menus > Sailboats > Blog Layout I changed ‘Featured Articles’ from Use Global to Only
2) K2 Category: Under K2 Categories > Brokerage Boats > Category Item layout > Other Layout Options I changed ‘Item Ordering’ from Default to Ordering
3) K2 Category: Under K2 Categories > Brokerage Boats > Category View Options > Sub-category Handling I changed Default to Ordering
Nothing happens.
1) Menu: Under Menus > Sailboats > Blog Layout I changed ‘Featured Articles’ from Use Global to Only
2) K2 Category: Under K2 Categories > Brokerage Boats > Category Item layout > Other Layout Options I changed ‘Item Ordering’ from Default to Ordering
3) K2 Category: Under K2 Categories > Brokerage Boats > Category View Options > Sub-category Handling I changed Default to Ordering
Nothing happens.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 5 months ago #149420
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Another Item Ordering Question
Please do not double post.
You are only slowing the process down and you will not receive an answer sooner.
You are only slowing the process down and you will not receive an answer sooner.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Paul Uhl
- Offline
- Junior Member
Less
More
- Posts: 21
8 years 5 months ago #149448
by Paul Uhl
Replied by Paul Uhl on topic Another Item Ordering Question
Based on the original post above about Pets/Dogs/Cats, I've set K2 > Categories:
• Set Pets, Dogs and Cats as follows:
Category Item layout: Other Layout Options: to Featured First
Category View Options: Sub-category handling: to Ordering
• Set all child categories under Dogs and Cats as follows:
Category Item layout: Other Layout Options: to Featured First
Category View Options: Sub-category handling: to Ordering
What I see now is:
1) All the DOGS appear in order (largest to smallest) but then are followed by all the CATS in order (largest to smallest). What I need to have are all DOGS and CATS mixed together and displayed in order, by size, descending largest to smallest.
2) If I leave the K2 admin ITEMS interface, view one of the items, and then exit (cancel) and go back to K2 Items, for some reason the order of ALL my Items (Dogs and Cats) changes. I've been ordering them in Featured state.
• Set Pets, Dogs and Cats as follows:
Category Item layout: Other Layout Options: to Featured First
Category View Options: Sub-category handling: to Ordering
• Set all child categories under Dogs and Cats as follows:
Category Item layout: Other Layout Options: to Featured First
Category View Options: Sub-category handling: to Ordering
What I see now is:
1) All the DOGS appear in order (largest to smallest) but then are followed by all the CATS in order (largest to smallest). What I need to have are all DOGS and CATS mixed together and displayed in order, by size, descending largest to smallest.
2) If I leave the K2 admin ITEMS interface, view one of the items, and then exit (cancel) and go back to K2 Items, for some reason the order of ALL my Items (Dogs and Cats) changes. I've been ordering them in Featured state.
Please Log in or Create an account to join the conversation.
- acymru
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
8 years 5 months ago #149458
by acymru
Replied by acymru on topic Another Item Ordering Question
K2 Items view and Categories view in the backend, where Ordering exists, throws a jquery error:
Uncaught TypeError: Cannot read property 'length' of undefined
Looking at the database while I change ordering, I'm seeing a lot of craziness. Essentially, when the ordering is changed, the featured_ordering column values are just randomly scrambled, so that the result bears absolutely no relationship to the intent.
Perhaps what we're dealing with here is an AJAX error? On the site, the ordering in the native Joomla Articles Manager throws no errors.
Uncaught TypeError: Cannot read property 'length' of undefined
Looking at the database while I change ordering, I'm seeing a lot of craziness. Essentially, when the ordering is changed, the featured_ordering column values are just randomly scrambled, so that the result bears absolutely no relationship to the intent.
Perhaps what we're dealing with here is an AJAX error? On the site, the ordering in the native Joomla Articles Manager throws no errors.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 5 months ago #149476
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Another Item Ordering Question
Can you check the network tab for the request?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- acymru
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
8 years 5 months ago - 8 years 5 months ago #149487
by acymru
Replied by acymru on topic Another Item Ordering Question
Everything comes through as Status 200. What else would I be checking for?
"/administrator/index.php?option=com_k2&view=items&task=savefeaturedorder&format=raw" request is also Status 200.
And, I've established, the jquery errors are triggered specifically when I click the ordering arrows to enable the ordering.
"/administrator/index.php?option=com_k2&view=items&task=savefeaturedorder&format=raw" request is also Status 200.
And, I've established, the jquery errors are triggered specifically when I click the ordering arrows to enable the ordering.
Last edit: 8 years 5 months ago by acymru. Reason: Added request detail
Please Log in or Create an account to join the conversation.
- Paul Uhl
- Offline
- Junior Member
Less
More
- Posts: 21
8 years 5 months ago #149762
by Paul Uhl
Replied by Paul Uhl on topic Another Item Ordering Question
Is there an update to this topic thread?
Please Log in or Create an account to join the conversation.