Page 1 of 2

Link to Cloud service

Posted: 05 Nov 2013, 09:29
by Vlad_Vita
Hello!
I installed version 1.3.9 Phoca download

I need to file to download is in the cloud, not on my website


This is a reference to a cloud service Yandex

Links component fore directed to the files on my site.

Can this be done with the help of your component?

Re: Link to Cloud service

Posted: 05 Nov 2013, 19:30
by Jan
Hi, just see the File Edit in administration and set external link (and direct link)

Jan

Re: Link to Cloud service

Posted: 06 Nov 2013, 08:51
by Vlad_Vita
I do not find ... You can make a screenshot of the settings?

Re: Link to Cloud service

Posted: 13 Nov 2013, 01:47
by Jan
Hi, go to your Joomla! Aadministration - Component - Phoca Download - Files - Edit a file or add new and set External URL Link (in Joomla! 1.5 the link is direct, in Joomla! 2.5 or 3 you can set if it will be direct or not - e.g. for storing hits)

Jan

Re: Link to Cloud service

Posted: 13 Nov 2013, 15:15
by Vlad_Vita
Hi Jan!

I understand now, thank you!

You can make a cloud service opened in a new tab?

Re: Link to Cloud service

Posted: 13 Nov 2013, 17:05
by Jan
Hi, for this you need to customize directly the code and add e.g. _blank attribute to the a tag.

Jan

Re: Link to Cloud service

Posted: 14 Nov 2013, 13:01
by Vlad_Vita
Hi, I know that it requires artibut
I do not know which file to fix the code? Joomla automatically generates code for web pages.
In my opinion it is necessary to correct php-code files in your component.

Re: Link to Cloud service

Posted: 14 Nov 2013, 17:52
by Jan
Hi, to customize the output, see:

components/com_phocadownload/views/file (in case you want to modify file edit/tmpl/ ...

or category view:
components/com_phocadownload/views/category/tmpl/ ...

Jan

Re: Link to Cloud service

Posted: 16 Nov 2013, 00:23
by Vlad_Vita
Hi, Which file do I edit? default.php?

If so, what is the line number?

In this file, I found the 4 attributes "target" and all of them are important "blank"

Re: Link to Cloud service

Posted: 20 Nov 2013, 00:10
by Jan
Hi, you need to test it (just change it and test the frontend - I am not able to say which code exactly needs to be edited - forum-rules.php (9) :-( )

Jan