Page 1 of 1
How to do diect link for all files
Posted: 14 Sep 2014, 15:19
by ziyouz
Hi dears.
1. How can I set direct link YES, in deafult configuration?
2. or How can I add direct link funksion in Multiple add?
Thank you
Re: How to do diect link for all files
Posted: 15 Sep 2014, 16:07
by Jan
Hi,
1. there is no such option, so this needs to be set directly in the XML file:
administrator\components\com_phocadownload\models\forms\phocadownloadfile.xml
set default="1" for directlink parameter
2. Such then needs to be set in the code:
administrator\components\com_phocadownload\models\phocadownloadm.php
(but didn't test yet, so it must be tested if it works without problems)
Jan
Re: How to do diect link for all files
Posted: 17 Sep 2014, 18:55
by ziyouz
Thank you Jan!
1. It's OK. It is working. Normal.
2. But I can't solve this issue. So, where I need to add this code ($datam['directlink'] = 1;)?
I added after $datam['language'] = $data['language']; and other places. But there is no Direct link funсtion in Multiple Add
Re: How to do diect link for all files
Posted: 17 Sep 2014, 22:16
by Jan
Hi, did you add it to all places where the $datam variable gets the parameters?
Jan