Hi,
in the configuration you can select, whether to show the detail or preview button, but you can not select to hide the download button?
For me, it would be enough to have the link behind the file name (or whatever you select here), but the download button does not fit in my layout.
Is there any chance to resize it or - better - to remove/de-select it?
BR
Ernst
resize or remove the download button
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: resize or remove the download button
Hi, yes, because it is a download component, so it is expected that the download button will be displayed with help of this component.
But you can comment html/php or remove it in:
components/com_phocadownload/views/category/tmpl/default.php (it is a html/php template for category view)
Jan
But you can comment html/php or remove it in:
components/com_phocadownload/views/category/tmpl/default.php (it is a html/php template for category view)
Jan
If you find Phoca extensions useful, please support the project
-
toitoine
- Phoca Newbie

- Posts: 4
- Joined: 05 Oct 2010, 15:43
Re: resize or remove the download button
Hi
first of all thanks for this nice tool !!
I would like also to delete the download buttom... I open the default.php file but I don't know what I should delete on the file!
could you help me
thanks a lot
first of all thanks for this nice tool !!
I would like also to delete the download buttom... I open the default.php file but I don't know what I should delete on the file!
could you help me
thanks a lot
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: resize or remove the download button
Hi, for now I am not on my PC, so I cannot say where directly you need to change the code, but it is html/php code, so you can find the part with "download" string: JText::_('Download") or similar (comment this with the boxes over this item)
Jan
Jan
If you find Phoca extensions useful, please support the project
-
MickBass
- Phoca Newbie

- Posts: 4
- Joined: 08 Jan 2014, 13:32
Re: resize or remove the download button
Hi
I too would like to rid of this download button, but i just can not find the code to comment out (Please help)
thanks Mick
I too would like to rid of this download button, but i just can not find the code to comment out (Please help)
thanks Mick
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: resize or remove the download button
Hi, just see similar posts in this forum, there were guides how to customize the output.
https://www.phoca.cz/documents/17-phoca- ... load-theme
https://www.phoca.cz/documents/17-phoca- ... load-theme
If you find Phoca extensions useful, please support the project