Default upload/delete settings

Phoca Gallery - image gallery extension
rodedo
Phoca Member
Phoca Member
Posts: 16
Joined: 12 Sep 2017, 10:04

Default upload/delete settings

Post by rodedo »

Hi,
Is there a way to define the default upload and delete rights of newly created categories?
In particular I want to define the groups to be used when categories are created automatically from: images -> multiple add -> select folder -> save.
Nice to have is to have the same option as "default" when creating a new category manually.
Thanks for the help.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Default upload/delete settings

Post by Jan »

Hi, for now there is no such option, so this needs to be customized directly in the multiple add feature :-(

Jan
If you find Phoca extensions useful, please support the project
rodedo
Phoca Member
Phoca Member
Posts: 16
Joined: 12 Sep 2017, 10:04

Re: Default upload/delete settings

Post by rodedo »

Could you give me some indication on which file(s) I would eventually have to override to implement this?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Default upload/delete settings

Post by Jan »

Hi, the multiple upload view is here:
administrator\components\com_phocagallery\views\phocagallerym\
here the e.g. select box of the rights should be displayed in the form

and then in controller and model, this should be managed:
administrator\components\com_phocagallery\controllers\phocagallerym.php
administrator\components\com_phocagallery\models\phocagallerym.php

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