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
Customising File Details Display
-
- Phoca Member
- Posts: 11
- Joined: 06 Jun 2020, 18:09
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Customising File Details Display
Hi,
1) which button do you exactly mean, when setting "standard popup window", all buttons are displayed:
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
1) which button do you exactly mean, when setting "standard popup window", all buttons are displayed:
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
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 11
- Joined: 06 Jun 2020, 18:09
Re: Customising File Details Display
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
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
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Customising File Details Display
Ok, great to hear it.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 08 Sep 2021, 04:00
Re: Customising File Details Display
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?
-
- Phoca Newbie
- Posts: 3
- Joined: 08 Sep 2021, 04:00
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Customising File Details Display
Hi, are you sure, it is caused by setting the parameter? Does the file have set the file for preview in file settings?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 08 Sep 2021, 04:00
Re: Customising File Details Display
Yes, I'm sure and yes, the file is set for preview.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Customising File Details Display
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
Do you use some template override (some template which can override the component ouput)?
Jan
If you find Phoca extensions useful, please support the project