121 Posts
deralex
7 months ago
4
Topic

I try creating as list with drag and drop ordering as described here: https://www.seblod.com/resources/tutorials/adding-drag-and-drop-ordering-functionality-to-your-front-end-managers

I use Joomla 4 with Seblod 4, exactly identical configuration as in another installation of Joomla 3. I think the former field "CCK" now is called "Core ID". In Joomla 4 I can drag a list item, but with mouseup, the item jumps back to the former position.

Do I have to change something in Joomla 4?

Get a VIP membership
38 Posts
StanislavR
6 months ago
3
Level 1

Hi,

Check if there is an «Article Category Id» field on your page

121 Posts
deralex
6 months ago
2
Level 2

Adding Article Category ID doesn't help.

Dragging works, but the positions don't flip. Also in Joomla administration after dragging, there's an AJAX call like http://www.mydomain.com/administrator/index.php?option=com_content&task=articles.saveOrderAjax&tmpl=component&abcabcabcabcabcabcabc=1 . Seblod doesn't send the call. 

38 Posts
StanislavR
6 months ago
1
Level 3

Hi,

my english only google translate, sorry

1. Works on a clean install Seblod

2. After 3->4 update I had this problem - item not fixed in the right place when dragging

3.This helped me:

3.1 In list settings (List -> Template) there is a parameter:  data-draggable-group="$cck->getValue('art_catid')"

3.2. So on the page there should be a field 'art_catid'

4.now works

Also carefully compare the settings of a clean installation and your site.

best regards

147 Posts
MtnPavlas
4 months ago
0
Level 4

StanislavR, can you please post a screenshot of the template config so we can see where you enter the data-draggable-group=... parameter? I don't see an option to enter it, nor was it in there by default. Thank you!

Get a Book for SEBLOD