Link to Cloud service

Phoca Download - download manager
Vlad_Vita
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 24 Sep 2011, 21:18

Link to Cloud service

Post 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?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48568
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Link to Cloud service

Post by Jan »

Hi, just see the File Edit in administration and set external link (and direct link)

Jan
If you find Phoca extensions useful, please support the project
Vlad_Vita
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 24 Sep 2011, 21:18

Re: Link to Cloud service

Post by Vlad_Vita »

I do not find ... You can make a screenshot of the settings?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48568
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Link to Cloud service

Post 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
If you find Phoca extensions useful, please support the project
Vlad_Vita
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 24 Sep 2011, 21:18

Re: Link to Cloud service

Post by Vlad_Vita »

Hi Jan!

I understand now, thank you!

You can make a cloud service opened in a new tab?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48568
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Link to Cloud service

Post by Jan »

Hi, for this you need to customize directly the code and add e.g. _blank attribute to the a tag.

Jan
If you find Phoca extensions useful, please support the project
Vlad_Vita
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 24 Sep 2011, 21:18

Re: Link to Cloud service

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48568
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Link to Cloud service

Post 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
If you find Phoca extensions useful, please support the project
Vlad_Vita
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 24 Sep 2011, 21:18

Re: Link to Cloud service

Post 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"
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48568
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Link to Cloud service

Post 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
If you find Phoca extensions useful, please support the project
Post Reply