resize or remove the download button

Phoca Download - download manager
Ernst14
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 21 Sep 2010, 14:13

resize or remove the download button

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: resize or remove the download button

Post 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
If you find Phoca extensions useful, please support the project
toitoine
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 05 Oct 2010, 15:43

Re: resize or remove the download button

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: resize or remove the download button

Post 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
If you find Phoca extensions useful, please support the project
MickBass
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 08 Jan 2014, 13:32

Re: resize or remove the download button

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: resize or remove the download button

Post 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
If you find Phoca extensions useful, please support the project
Post Reply