Page 1 of 1

Customising File Details Display

Posted: 15 Jun 2021, 00:05
by latorreinfo
1. We have used "YES (modal box)" for the display detail button setting.

For some reason the setting "YES (standard popup window)" setting does not display a button???????

In the modal box is it possible to hide the download button - we have modified download to work in-line so the file displays in the modal box. This isnt good given the size of the modal box, so we'd prefer them users to close the window and then use the download button on the file list

2. A secondary question - is it possible to remove the hyperlink for the file name / description so that users can only download via the download button and not by clicking on the filename

Re: Customising File Details Display

Posted: 15 Jun 2021, 14:16
by Jan
Hi,

1) which button do you exactly mean, when setting "standard popup window", all buttons are displayed:

Image

You can override the detail view the same way like all views in Joomla - with template override:
components\com_phocadownload\views\file\tmpl\default.php (or its Bootstrap alternative)

2) This even needs to be done per override:
components\com_phocadownload\views\category\tmpl\default.php

Jan

Re: Customising File Details Display

Posted: 16 Jun 2021, 13:12
by latorreinfo
Jan

It was the download button. Your advice re template overrides which I haven't used before have enabled me to achieve what I want

Thanks Dave

Re: Customising File Details Display

Posted: 21 Jun 2021, 17:11
by Jan
Ok, great to hear it.

Jan

Re: Customising File Details Display

Posted: 08 Sep 2021, 04:05
by Jbdomingos
Hi, the same happens to me, when setting "YES (standard popup window)" for the File Details Display, the details button dissapear in the front end. How to fix it?

Re: Customising File Details Display

Posted: 08 Sep 2021, 14:55
by Jbdomingos

Re: Customising File Details Display

Posted: 11 Sep 2021, 12:04
by Jan
Hi, are you sure, it is caused by setting the parameter? Does the file have set the file for preview in file settings?

Jan

Re: Customising File Details Display

Posted: 14 Sep 2021, 04:16
by Jbdomingos
Yes, I'm sure and yes, the file is set for preview.

Re: Customising File Details Display

Posted: 14 Sep 2021, 22:24
by Jan
And when you change the method for detail, it is displayed there?

Do you use some template override (some template which can override the component ouput)?

Jan