Problem in the file ordering screen in administrator

Phoca Download - download manager
rogeriocc
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 17 Mar 2015, 16:06

Problem in the file ordering screen in administrator

Post 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!
peebee10
Phoca Member
Phoca Member
Posts: 11
Joined: 27 Feb 2015, 10:00

Re: Problem in the file ordering screen in administrator

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem in the file ordering screen in administrator

Post 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
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem in the file ordering screen in administrator

Post 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
If you find Phoca extensions useful, please support the project
peebee10
Phoca Member
Phoca Member
Posts: 11
Joined: 27 Feb 2015, 10:00

Re: Problem in the file ordering screen in administrator

Post by peebee10 »

Edits works and all good now. Thanks Jan. Much appreciated.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem in the file ordering screen in administrator

Post by Jan »

Hi, Ok, thank you for the info, I will add it into next release.

Jan
If you find Phoca extensions useful, please support the project
rogeriocc
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 17 Mar 2015, 16:06

Re: Problem in the file ordering screen in administrator

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem in the file ordering screen in administrator

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem in the file ordering screen in administrator

Post by Jan »

Fixed in 3.1.0

Jan
If you find Phoca extensions useful, please support the project
Post Reply