?
avatar Magnytu2
Magnytu2
13 Jun 2021

Dale smenus manager, I can't move and reorganize the links. I select and I move, but I can not position the links by a click. It sticks to the mouse ...
Capture d’écran 2021-06-13 à 16 29 51

avatar Magnytu2 Magnytu2 - open - 13 Jun 2021
avatar joomla-cms-bot joomla-cms-bot - change - 13 Jun 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 13 Jun 2021
avatar Quy
Quy - comment - 13 Jun 2021

Please test with the nightly builds: https://developer.joomla.org/nightly-builds.html

avatar Magnytu2
Magnytu2 - comment - 13 Jun 2021

@Quy Yes it works thank you very much

avatar Magnytu2 Magnytu2 - change - 13 Jun 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-06-13 14:54:01
Closed_By Magnytu2
avatar Magnytu2 Magnytu2 - close - 13 Jun 2021
avatar Magnytu2 Magnytu2 - change - 13 Jun 2021
Status Closed New
Closed_Date 2021-06-13 14:54:01
Closed_By Magnytu2
avatar Magnytu2 Magnytu2 - reopen - 13 Jun 2021
avatar Magnytu2
Magnytu2 - comment - 13 Jun 2021

@Quy You can move menu links, but it is a disaster to organize, because the links do not stay in order and even get mixed up.

avatar joomdonation
joomdonation - comment - 14 Jun 2021

Hmm. I just tried nightly build and re-order menu items works OK here for me. Could anyone else confirm this issue?

avatar sandramay0905
sandramay0905 - comment - 14 Jun 2021

I tried moving menus up and down, this works. @Magnytu2 can you please be more specific what not works, maybe a gif-animation by LICEcap?

avatar sandramay0905
sandramay0905 - comment - 14 Jun 2021

@joomdonation found something what @Magnytu2 maybe mean.

The animation show that drag'n'drop a menu up work, down don't work:

1

avatar joomdonation
joomdonation - comment - 14 Jun 2021

Thanks @sandramay0905. Will wait for more information from @Magnytu2 before looking at it. If it is the issue, I guess it is something related to the code on this method https://github.com/joomla/joomla-cms/blob/4.0-dev/build/media_source/system/js/draggable.es6.js#L107-L118 .

avatar sandramay0905
sandramay0905 - comment - 14 Jun 2021

Drag'n'drop down works on menu, but not on last:

1

Same on modules:

1

avatar Magnytu2
Magnytu2 - comment - 14 Jun 2021

I move menu items well. But it has no frontend or out of order effect. And if I update the backend the menus are indeed out of order. I do not know if this has an impact, but I am on sub-menus.

avatar joomdonation
joomdonation - comment - 14 Jun 2021

@Magnytu2 Not sure If I mis-understand the issue but I tried using nightly build and it is working well for me. Change ordering of menu items from admin affect frontend immediately.

Could anyone checks to see if you can confirm this issue?

avatar brianteeman
brianteeman - comment - 14 Jun 2021

Please make a recording of your problem - you can use licecap for the recording

avatar Magnytu2
Magnytu2 - comment - 14 Jun 2021

I change the order of the submenus, I update my front and I display it no change. I'm updating my backend and it's still changing.
 OrganisationMenu

avatar brianteeman
brianteeman - comment - 14 Jun 2021

and do you have cache enabled?

avatar brianteeman
brianteeman - comment - 14 Jun 2021

That could be both a cache setting in Joomla and even in your hosting

avatar Magnytu2
Magnytu2 - comment - 14 Jun 2021

the cache is disabled, emptied. I changed my browser as well.
Capture d’écran 2021-06-14 à 19 03 50

avatar brianteeman
brianteeman - comment - 14 Jun 2021

Is this localhost or is it hosted somewhere I can look at?

avatar Magnytu2
Magnytu2 - comment - 14 Jun 2021

it is hosted remote. It is a simple site to present Joomla 4. An article, a title, an image, a sentence. https://joomla-4.fr/

avatar brianteeman
brianteeman - comment - 14 Jun 2021

If you can send me super admin access details I can take a closer look.

avatar Magnytu2
Magnytu2 - comment - 14 Jun 2021

I sent your credentials by email.

avatar brianteeman
brianteeman - comment - 14 Jun 2021

I will look after dinner

avatar brianteeman
brianteeman - comment - 14 Jun 2021

I can confirm that there is something odd happening.

I can move items in the menu and sometimes it works but sometimes it is wrong. When it is wrong if I click on "rebuild" in the admin then the menu in the admin now matches the frontend.

Sorry I cant see a reason why

avatar chmst
chmst - comment - 14 Jun 2021

Can you see js errors on the console?

avatar brianteeman
brianteeman - comment - 14 Jun 2021

no - and now it seems to be working correctly

avatar Magnytu2
Magnytu2 - comment - 14 Jun 2021

For me it does not work. If I move one, okay. If I move two, it doesn't work.

avatar chmst
chmst - comment - 14 Jun 2021

image

I got this when I tried to drag the xx2 above xx1

I make a new composer / npm now

avatar brianteeman
brianteeman - comment - 14 Jun 2021

For me it does not work. If I move one, okay. If I move two, it doesn't work.

bingo. confirmed on my own site

avatar joomdonation
joomdonation - comment - 15 Jun 2021

draggable.zip

Could someone get this modified file, unzip it, upload to media/system/js folder, then test it to see if it solves the issue?

Before, we only submitted data between drag and drop element to server for updating ordering. Now, I modified it so that data from all rows (within same group if there are group) will be submitted in ajax request (basically, same with J3). Hope it solves the issue.

avatar chmst
chmst - comment - 15 Jun 2021

I have tested your js. The js error from #34498 (comment) has gone and drag and drop is working fine now, also on the lecond level. But the effect described here persits #34498 (comment)

avatar brianteeman
brianteeman - comment - 24 Jun 2021

This should be closed as there is a pr

avatar Quy Quy - change - 24 Jun 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-06-24 23:28:59
Closed_By Quy
avatar Quy Quy - close - 24 Jun 2021

Add a Comment

Login with GitHub to post a comment