Hi Jan,
Is it possible 'Direct Link' to be YES by default for all new files added in the component? (selected in some General Options).
Especially for PDF files (for which I'm using PD).
And Direct Link to open pdf-s in new browser tabs - target _blank (this could be option in settings also).
Waiting for your comments.
Regards
Feature Request - Direct Link by default
-
- Phoca Professional
- Posts: 101
- Joined: 16 Mar 2014, 13:23
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Feature Request - Direct Link by default
Hi,
open this file:
administrator\components\com_phocadownload\models\forms\phocadownloadfile.xml
on line cca 42 (directlink parameter) change
FROM:
TO:
target _blank - I will take a look at it but I think, this should be modified directly in the code, as target _blank does not make any sense for direct downloading of files as this action should not open any panel but just directly open the OS window to download the file 
Jan
open this file:
administrator\components\com_phocadownload\models\forms\phocadownloadfile.xml
on line cca 42 (directlink parameter) change
FROM:
Code: Select all
default="0"
Code: Select all
default="1"

Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Professional
- Posts: 101
- Joined: 16 Mar 2014, 13:23
Re: Feature Request - Direct Link by default
Thank you.
I've modified (with overrides) some code, will post it later after testing.
I've modified (with overrides) some code, will post it later after testing.
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Feature Request - Direct Link by default
Ok
If you find Phoca extensions useful, please support the project