Hi,
I have a site where the Phoca Gallery is for registered users only.
How can I ensure that all Categories created by the User Control Panel have a default Access Level of Registered.
I am happy to work with the source, if anyone could point me in the correct direction.
Many thanks,
theduck
User Control Panel - Category Creation - Registered
-
theduck01
- Phoca Newbie

- Posts: 2
- Joined: 06 Apr 2009, 22:31
-
theduck01
- Phoca Newbie

- Posts: 2
- Joined: 06 Apr 2009, 22:31
Re: User Control Panel - Category Creation - Registered
Hi,
Now discovered the answer.
Edit line 734 of components/com_phocagallery/controller.php
Change:
$post['access'] = 0;
to
$post['access'] = 1;
I hope this helps someone else,
theduck
Now discovered the answer.
Edit line 734 of components/com_phocagallery/controller.php
Change:
$post['access'] = 0;
to
$post['access'] = 1;
I hope this helps someone else,
theduck
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: User Control Panel - Category Creation - Registered
Ok
If you find Phoca extensions useful, please support the project