Page 1 of 1

Problem in the file ordering screen in administrator

Posted: 17 Mar 2015, 16:20
by rogeriocc
I have a problem in the file management screen. When trying to order any files by dragging with the mouse, files simply disappear when you click and try to drag with the mouse and after you release the mouse button the files reappear but with disorderly screen.

Has anyone had this problem and managed to solve?

https://drive.google.com/open?id=0B2X0A ... authuser=0
https://drive.google.com/open?id=0B2X0A ... authuser=0
https://drive.google.com/open?id=0B2X0A ... authuser=0

Thank U!

Re: Problem in the file ordering screen in administrator

Posted: 19 Mar 2015, 06:29
by peebee10
I have EXACTLY the same issue happening. Unble to re-order existing files using drag and drop ordering. Files disappear from view, layout ends up all over the place. The screenshots in the post above tell the exact story.

I thought it may have been a conflict with the Admin template being used but I've just tried 3 x different Admin templates and it's the same behavior in each of them. Any suggestions to fix?

Joomla 3.4.0, Phocadownload 3.0.6

Re: Problem in the file ordering screen in administrator

Posted: 21 Mar 2015, 21:14
by Jan
Hi, confirmed, seems like something changed in the Joomla! 3.4

I will try to discover if this is a Joomla! 3.4 bug or something changed in 3.4 which causes such problems :idea:


Jan

Re: Problem in the file ordering screen in administrator

Posted: 21 Mar 2015, 22:14
by Jan
EDIT:

Please, go to:
administrator\components\com_phocadownload\views\phocadownloadfiles\tmpl\default.php

and change the line cca 101

from:

Code: Select all

echo '<tr class="row'.$iD.'" sortable-group-id="'.$item->category_id.'" item-id="'.$item->id.'" parents="'.$item->category_id.'" level="0">'. "\n";
to:

Code: Select all

//echo '<tr class="row'.$iD.'" sortable-group-id="'.$item->category_id.'" item-id="'.$item->id.'" parents="'.$item->category_id.'" level="0">'. "\n";

echo '<tr class="row'.$iD.'" sortable-group-id="'.$item->category_id.'" >'. "\n";
and let me know if this helped

:idea:

Jan

Re: Problem in the file ordering screen in administrator

Posted: 23 Mar 2015, 01:16
by peebee10
Edits works and all good now. Thanks Jan. Much appreciated.

Re: Problem in the file ordering screen in administrator

Posted: 26 Mar 2015, 21:48
by Jan
Hi, Ok, thank you for the info, I will add it into next release.

Jan

Re: Problem in the file ordering screen in administrator

Posted: 09 Apr 2015, 19:21
by rogeriocc
Hi Jan,

Work for me!

The same solotion to the same problem in order category list.

Sorry for my bad english!

Togério

Re: Problem in the file ordering screen in administrator

Posted: 10 Apr 2015, 19:13
by Jan
Ok

Re: Problem in the file ordering screen in administrator

Posted: 20 Oct 2015, 00:14
by Jan
Fixed in 3.1.0

Jan