Hello, sorry about my Ignorance but i started using Joomla and Phoca recently.
My question is about the form that is shown to users for uploading a document.
It is posible to change, for example, the "File Subject" text in the form?
And if i want to hide, for example, AUTHOR or AUTHOR EMAIL, it is posible?
Thank you very much!!
Regards
Diego
Change Label and Hide some FORM items
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Change Label and Hide some FORM items
Hi, the easiest way to change strings is to do in language file (com_phocadownload.ini in your language folder - in frontend - root/languages/en-GB/ or your language if it is different to English)
And the easiest way how to hide the forms is to do per CSS
Jan
And the easiest way how to hide the forms is to do per CSS

Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 47
- Joined: 18 Sep 2011, 16:17
Re: Change Label and Hide some FORM items
Assuming you are using a current version of Joomla rather than editing the language file in phocadownload then it is better to set language overrides (backend top menu Extensions | Languages | Overrides) where you can override the value of the text for any language string using the search function to find it. That way any future update to the PD language files will not overwrite your custom values.
-
- Phoca Hero
- Posts: 2857
- Joined: 28 Nov 2010, 17:20
Re: Change Label and Hide some FORM items
@rogerco,
thank you for your assistance
Hi Diego,
to hide some fields, it's recommended to use so called template override. Months ago, we had similar thread:
viewtopic.php?f=31&p=150783#p150783
see last post: the relevant file would be: components\com_phocadownload\site\views\user\tmpl\default_files.php
Which lines should be removed, depends which field you want to hide.
some info: https://www.ostraining.com/blog/joomla/overrides/
Kind regards
Christine
thank you for your assistance

Hi Diego,
to hide some fields, it's recommended to use so called template override. Months ago, we had similar thread:
viewtopic.php?f=31&p=150783#p150783
see last post: the relevant file would be: components\com_phocadownload\site\views\user\tmpl\default_files.php
Which lines should be removed, depends which field you want to hide.
some info: https://www.ostraining.com/blog/joomla/overrides/
Kind regards
Christine
-
- Phoca Member
- Posts: 11
- Joined: 05 Jul 2018, 16:50
Re: Change Label and Hide some FORM items
Thank you very much guys.
It worked!!!
Nice Work to all of you!!
Regards
DIego
It worked!!!
Nice Work to all of you!!
Regards
DIego