Page 1 of 1
resize or remove the download button
Posted: 25 Sep 2010, 07:27
by Ernst14
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
Re: resize or remove the download button
Posted: 26 Sep 2010, 12:52
by Jan
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
Re: resize or remove the download button
Posted: 05 Oct 2010, 15:48
by toitoine
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
Re: resize or remove the download button
Posted: 10 Oct 2010, 18:12
by Jan
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
Re: resize or remove the download button
Posted: 11 Jan 2014, 05:30
by MickBass
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
Re: resize or remove the download button
Posted: 14 Jan 2014, 23:06
by Jan
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