- Posts: 12
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- [SOLVED] Reorder problem in featured articles in Joomla 3
[SOLVED] Reorder problem in featured articles in Joomla 3
- mxmauro
-
Topic Author
- Offline
- New Member
Lets say I have 5 articles named A,B,C,D,E and want to set the following order: B,D,E,A,C
I move, for e.g., B to the first place (all in the backend) ok... then I move D to the second place and appears ok. but when refresh with F5, I get D in the last place.
I think the problem is related to duplicated ordering numbers in the database field, but I don't know how to fix that.
In Joomla 2.5 one could retype all the order indexes and save them. Now I can't.
Also I ask here because anyone can tell me if I can edit the k2 orderding in another way.
Thanks,
Mauro.
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
- Posts: 8743
Please Log in or Create an account to join the conversation.
- mxmauro
-
Topic Author
- Offline
- New Member
- Posts: 12
I attached some screenshots. I'm trying to order featured items in different categories so I filter featured items.
Screenshot 1 has the initial ordering. Now I move "Noches abiertas" to the second place. It returns 1 as you said.
Reload the page and I get the expected ordering. Now I move "Cuestiones de ética" to the third place as shown in screenshot 3. It returns 1 too.
But when I reload the Component -> K2 -> Items page I get the screenshot 4.
Thanks,
Mauro.
EDIT: Updated to 2.6.7 and issue persists.
Please Log in or Create an account to join the conversation.
- mxmauro
-
Topic Author
- Offline
- New Member
- Posts: 12
search: filter_trash:0 filter_featured:1 filter_category:0 filter_author:0 filter_state:-1 language: limit:20 limitstart:0 order[]:7 order[]:10 order[]:11 order[]:28 order[]:20 order[]:21 order[]:24 order[]:25 option:com_k2 view:items : filter_order:i.featured_ordering filter_order_Dir:asc boxchecked:0 80e4e42561be2c282bc4840a5b4b4872:1 cid[]:325 cid[]:328 cid[]:330 cid[]:298 cid[]:322 cid[]:197 cid[]:312 cid[]:324 | search: filter_trash:0 filter_featured:1 filter_category:0 filter_author:0 filter_state:-1 language: limit:20 limitstart:0 order[]:7 order[]:10 order[]:11 order[]:12 order[]:20 order[]:21 order[]:24 order[]:25 option:com_k2 view:items : filter_order:i.featured_ordering filter_order_Dir:asc boxchecked:0 80e4e42561be2c282bc4840a5b4b4872:1 cid[]:325 cid[]:328 cid[]:298 cid[]:330 cid[]:322 cid[]:197 cid[]:312 cid[]:324 |
I don't know very well about Joomla 3 internals but why, on the same page, the order[] array has a different value (28 becomes 12)
Regards,
Mauro.
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
- Posts: 8743
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
- Posts: 8743
Please Log in or Create an account to join the conversation.
- BBC
-
- Offline
- Platinum Member
- Posts: 663
Lefteris Kavadas wrote: I applied a fix. Please grab the SVN version and let me know if it works as it should now.
You are a good man, you fix broken Joomla things. I have that problem with plugins and modules lists since they introduced that (jQuery ?) sorting option.
Last 2 weeks i made websites in Drupal and Wordpress, and guess what, sorting via drag and drop goes 100% perfectly smooth and OK.
Why Joomla ? Why always stupid Joomla ?
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
- Posts: 8743
Please Log in or Create an account to join the conversation.
- BBC
-
- Offline
- Platinum Member
- Posts: 663
But i worked with Seblod. Script made by one poor guy, and drag and drop sort never made problems.
One poor guy against a horde of core Joomla retarded and autistic developers.
I am so tired of this ****.
Please Log in or Create an account to join the conversation.
- mxmauro
-
Topic Author
- Offline
- New Member
- Posts: 12
Thank you very much.
EDIT: Checked and works fine. Thanks again.
Please Log in or Create an account to join the conversation.
- klikeri
-
- Offline
- New Member
- Posts: 12
Please Log in or Create an account to join the conversation.
- mxmauro
-
Topic Author
- Offline
- New Member
- Posts: 12
Hi Lefteris,
I updated all K2 from SVN and at first it worked fine, but now I added one featured item and removed another, and when sorting the problem appeared again :(
Log in or Create an account to join the conversation.
- Horváth-Veress Balázs
-
- Offline
- New Member
- Posts: 1
Please Log in or Create an account to join the conversation.
- Forum
- K2 Community Forum
- English K2 Community
- [SOLVED] Reorder problem in featured articles in Joomla 3