Save buttons not showing in Multiple upload page

Phoca Download - download manager
oierla
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 16 Oct 2014, 12:41

Save buttons not showing in Multiple upload page

Post by oierla »

Hi!
I have some users in my website that can't use multiple upload propperly as they can't see any save button. However they can use the normal file upload option with no problem.
I add two images as you can see the multiple upload and file upload pages.
Joomla version is 3.3.6 and Phoca Download version is 3.0.5.

Image
Image
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Save buttons not showing in Multiple upload page

Post by Jan »

Hi, what will happen, when they click on the "Multiple Upload" folder?

Jan
If you find Phoca extensions useful, please support the project
oierla
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 16 Oct 2014, 12:41

Re: Save buttons not showing in Multiple upload page

Post by oierla »

Hi!
Nothing happens with the SAVE buttons, they are still disappearing.
Though, the uploading sistem (both upload and multiple uplaod) works fine. The point is that as there is no SAVE button I can't assign those uploaded files to categories.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Save buttons not showing in Multiple upload page

Post by Jan »

Hmm, when you are logged in as super user, are you able to use "save" button?

Jan
If you find Phoca extensions useful, please support the project
oierla
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 16 Oct 2014, 12:41

Re: Save buttons not showing in Multiple upload page

Post by oierla »

Yes, I can see the buttons as a super user. I thought it was something about permissions, but I can't figure out what happens.
Here you can see the permissions given to the usergroup that can't see the buttons.

Image
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Save buttons not showing in Multiple upload page

Post by Jan »

When you allow all for the users, are thy able to save?

Normally, the component only accept the access rule, and I see, it is allowed so no idea what can be wrong there :idea: The same with create - save is under create rights, and they are enabled :idea:

Jan
If you find Phoca extensions useful, please support the project
oierla
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 16 Oct 2014, 12:41

Re: Save buttons not showing in Multiple upload page

Post by oierla »

Nothing changes if I allow all the permissions.
It shows the same as if I configure it with the permissions of the image above.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Save buttons not showing in Multiple upload page

Post by Jan »

Which group they are?

For example: administrators can see administration and Phoca Download and they can normally manage Multiple Add, Managers cannot see Phoca Download and they cannot use multiple add (administrators and managers are set as default) :idea: Testing now and see no problem there :idea:

Jan
If you find Phoca extensions useful, please support the project
Pelle
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 06 Oct 2015, 22:50

Re: Save buttons not showing in Multiple upload page

Post by Pelle »

Jan,
I have this problem as well. My users will need to use Multiple Add in the Back-end, but those users are not to be allowed to touch other things in the Back-end - Administrator is a too high authorization. I have given them access to Poca Download Back-End by authorizing Registered to Access, Create, etc in the component settings for Phoca Download - the calculated settings are the same for Registered and Administrator.

If the setting to allow access to multiple add is in a 'menu', please tell me where to find it. If it is somewhere in the code, please tell me where to look :-)

All the best,
Per
Pelle
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 06 Oct 2015, 22:50

Re: Save buttons not showing in Multiple upload page

Post by Pelle »

I found the code that is related to my problem.

In "siteurl"\administrator\components\com_phocadownload\views\phocadownloadmanager\view.html.php at line number 176 the code is:

if ($canDo->get('core.create')) {
JToolBarHelper::save($this->t['c'].'m.save', 'JTOOLBAR_SAVE');
}

If I change it to simply be:

JToolBarHelper::save($this->t['c'].'m.save', 'JTOOLBAR_SAVE');

I get the button visible. This puzzles me, as I beleive my settings would have added Registered to core.create.

Please do not copy my hack unless you know exactly what you are doing. In my case, the risk is acceptable, but...

All the best,
Per
Post Reply