Remove the user upload from frontend

Phoca Gallery - image gallery extension
mambo
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 22 Apr 2013, 13:36

Remove the user upload from frontend

Post by mambo »

Hello, firstly thanks for this great component. My question is about the frontend user control panel.
I can upload all the pictures on my website through the backend myself and I can give certain users access to the frontend control panel so they can view the pictures, edit the captions/descriptions, unpublish and delete the pictures.
This all works great, the problem is the file upload box under the image thumbnails, I would like to remove this. I am trying to make my site idiot proof and I know this box will cause confusion.
From reading the documentation, it seems the only way to do this is by editing the default_user.php file.
Am I correct and if so is there a quick easy edit that will remove the file upload part in the images tab of the frontend control panel.
Thanks
John From Cork
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Remove the user upload from frontend

Post by Jan »

Hi, yes this needs to be customized directly in the code:

components/com_phocagallery/views/user/tmpl/default_...upload (you can remove it in specific upload files - single, java, multiple) or directly the default.php (where there are the links to these templates)

Jan
If you find Phoca extensions useful, please support the project
mambo
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 22 Apr 2013, 13:36

Re: Remove the user upload from frontend

Post by mambo »

Hi Jan, Thanks for the reply, I tried editing those files, but I couldn't get it to do what I wanted. When it comes to PHP (and quite a lot of other things) I am really just fumbling around in the dark. Anyway It doesn't really matter I can make the site work with the upload section still there.
Maybe you can consider including the option to remove the frontend upload section for a future release.
Thanks again and keep up the good work
John
Post Reply