Page 1 of 1

Default upload/delete settings

Posted: 15 Sep 2017, 17:24
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.

Re: Default upload/delete settings

Posted: 19 Sep 2017, 23:18
by Jan
Hi, for now there is no such option, so this needs to be customized directly in the multiple add feature :-(

Jan

Re: Default upload/delete settings

Posted: 21 Sep 2017, 10:29
by rodedo
Could you give me some indication on which file(s) I would eventually have to override to implement this?

Re: Default upload/delete settings

Posted: 21 Sep 2017, 13:43
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