Page 1 of 1

Remove the user upload from frontend

Posted: 22 Apr 2013, 14:18
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

Re: Remove the user upload from frontend

Posted: 24 Apr 2013, 20:55
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

Re: Remove the user upload from frontend

Posted: 26 Apr 2013, 08:53
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