Hey all,
I'd like to simply have the link to the download via the name of the file and not show the big green download button. I thought maybe if i set "display downloads" to "no" it would disappear but I can't seem to get rid of it.
Any suggestions?
Thanks!
Hide Download Button?
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Hide Download Button?
Hi, there is no option to hide download button, this needs to be customized in the code, or you can set own layout where the button will be not displayed.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
f16jack
- Phoca Member

- Posts: 18
- Joined: 28 Mar 2014, 20:00
Re: Hide Download Button?
Hi Jan,
I've looked in your documentation and tried modifying the layout, but cannot remove the "Download" button in the category view.
2nd challenge: trying to ensure that the users get the option to view a document before being forced to download it. You reference enabling the "icon" view, but I don't see that anywhere in the options in Phoca Download.
Thanks.
I've looked in your documentation and tried modifying the layout, but cannot remove the "Download" button in the category view.
2nd challenge: trying to ensure that the users get the option to view a document before being forced to download it. You reference enabling the "icon" view, but I don't see that anywhere in the options in Phoca Download.
Thanks.
-
f16jack
- Phoca Member

- Posts: 18
- Joined: 28 Mar 2014, 20:00
Re: Hide Download Button?
To Hide the Download Button:
public_html/components/com_phocadownload/views/category/tmpl/default_files.php
find the line:
echo '<div class="pd-buttons">'.$pdButtonDownload.'</div>';
(should be about line 367)
Comment this out.
//echo '<div class="pd-buttons">'.$pdButtonDownload.'</div>';
The Download button will disappear
public_html/components/com_phocadownload/views/category/tmpl/default_files.php
find the line:
echo '<div class="pd-buttons">'.$pdButtonDownload.'</div>';
(should be about line 367)
Comment this out.
//echo '<div class="pd-buttons">'.$pdButtonDownload.'</div>';
The Download button will disappear
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Hide Download Button?
Hi, thank you for the guide.
Jan
Jan
If you find Phoca extensions useful, please support the project
