I've installed the phoca download plugin and the download button plugin. I am having trouble with linking to a file. Instead of linking to a file it goes to the category. http://67.225.138.33/~oldpoint/index.ph ... -suite-200
Can anyone help?
Thanks
Link to File Problem
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Link to File Problem
Hi, this is a feature of the plugin, the link goes to category where the file is located.
E.g. file list displays files where the link is direct download link.
https://www.phoca.cz/documents/51-phoca- ... oad-plugin
Jan
E.g. file list displays files where the link is direct download link.
https://www.phoca.cz/documents/51-phoca- ... oad-plugin
Jan
If you find Phoca extensions useful, please support the project
-
novagarden
- Phoca Newbie

- Posts: 2
- Joined: 10 Jun 2011, 16:14
Re: Link to File Problem
Thanks JanJan wrote:Hi, this is a feature of the plugin, the link goes to category where the file is located.
E.g. file list displays files where the link is direct download link.
https://www.phoca.cz/documents/51-phoca- ... oad-plugin
Jan
Any way to have it go directly to a file. I thought that was an option?
-
SonRiab
- Phoca Professional

- Posts: 258
- Joined: 02 Jun 2011, 09:29
- Contact:
Re: Link to File Problem
The documentation has an example for this situation:
{phocadownload view=file|id=280}
As view you have to set file and the id would be the file-id you can find in the last column of your file view in the backend.
{phocadownload view=file|id=280}
As view you have to set file and the id would be the file-id you can find in the last column of your file view in the backend.
-
dounne
- Phoca Member

- Posts: 19
- Joined: 12 Jun 2011, 16:37
Re: Link to File Problem
Hi,
I installed the plugin for joomla 1.6, I activated it and then I pasted the code directly in one of my articles :
{phocadownload view=file|id=7}
The problem is the code is not read as a code but as text
and it doesn't show me the link of the file but smply "{phocadownload view=file|id=7}" on the web page ... not very useful
. I use jumi for some php scripts and I thought it was more or less the same steps to make it works but theres something I do not understand ...
Any idea ?
Thank you !
I installed the plugin for joomla 1.6, I activated it and then I pasted the code directly in one of my articles :
{phocadownload view=file|id=7}
The problem is the code is not read as a code but as text
Any idea ?
Thank you !
-
SonRiab
- Phoca Professional

- Posts: 258
- Joined: 02 Jun 2011, 09:29
- Contact:
Re: Link to File Problem
Hmm for me it works as expected.
Do you have caching activated?
If yes disable it as long as you testing something. Did you clean your browser cache?
Do you really activated the plugin in the plugin manager?
Are other plugins activated for type content which could cause it?
Do you have caching activated?
If yes disable it as long as you testing something. Did you clean your browser cache?
Do you really activated the plugin in the plugin manager?
Are other plugins activated for type content which could cause it?
-
hlarocque
- Phoca Newbie

- Posts: 1
- Joined: 14 Jun 2011, 16:24
Re: Link to File Problem
Hi!
I've tried the syntax to call a file directly (with the plugin) but it still redirect me to the category instead of downloading the pdf file. I used
phocadownload view=file|id=1 (with curly braces of course)
Also, I use the component to show all file in a caterogy (for archive) but again, the url provided for each file leads to another page where you can finally download the file. I would be great to save a click. Is there any way we could call a file directly?
I've tried the syntax to call a file directly (with the plugin) but it still redirect me to the category instead of downloading the pdf file. I used
phocadownload view=file|id=1 (with curly braces of course)
Also, I use the component to show all file in a caterogy (for archive) but again, the url provided for each file leads to another page where you can finally download the file. I would be great to save a click. Is there any way we could call a file directly?
-
dounne
- Phoca Member

- Posts: 19
- Joined: 12 Jun 2011, 16:37
Re: Link to File Problem
Hi, thank you for your answer SonRiab,
I checked all the things you mentioned. Caching is not activated (I tried activating it but still the same), I cleaned my browser cache, I tried with Firefox, IE and Chrome.... nothing ... The plug-in IS activated BUT I have some others plugin for type content ...
Contenido - Cargar Módulos content loadmodule Publico 406
Content - Joomla content joomla Publico 435
Content - Oziogallery 3 content ozio Publico 10013
Phoca Download Plugin content phocadownload Publico 10015
Contenido - Protección Email content emailcloak Publico 404
Contenido - Código Highlighter (GeSHi) content geshi Publico 405
Contenido - Pagebreak content pagebreak Publico 407
Contenido - Página de navegación content pagenavigation Publico 408
Contenido - Valoración content vote Publico 409
(GeSHi) is OFF, all the others are ON. I tried switching OFF the last plugin I installed ( Oziogallerie) but it still not working.
@hlarocque, I can put a link for direct download copying the link :
http://www.YOURWEBSITE.EXT/index.php?op ... nload=[b]7[/b]:catalogo-YOURCATEGORY&id=2:YOURCATEGORY&Itemid=193
It is good for me as administrator but any user who upload files would not be able to share them easily ...
Thank you
I checked all the things you mentioned. Caching is not activated (I tried activating it but still the same), I cleaned my browser cache, I tried with Firefox, IE and Chrome.... nothing ... The plug-in IS activated BUT I have some others plugin for type content ...
Contenido - Cargar Módulos content loadmodule Publico 406
Content - Joomla content joomla Publico 435
Content - Oziogallery 3 content ozio Publico 10013
Phoca Download Plugin content phocadownload Publico 10015
Contenido - Protección Email content emailcloak Publico 404
Contenido - Código Highlighter (GeSHi) content geshi Publico 405
Contenido - Pagebreak content pagebreak Publico 407
Contenido - Página de navegación content pagenavigation Publico 408
Contenido - Valoración content vote Publico 409
(GeSHi) is OFF, all the others are ON. I tried switching OFF the last plugin I installed ( Oziogallerie) but it still not working.
@hlarocque, I can put a link for direct download copying the link :
http://www.YOURWEBSITE.EXT/index.php?op ... nload=[b]7[/b]:catalogo-YOURCATEGORY&id=2:YOURCATEGORY&Itemid=193
It is good for me as administrator but any user who upload files would not be able to share them easily ...
Thank you
-
SonRiab
- Phoca Professional

- Posts: 258
- Joined: 02 Jun 2011, 09:29
- Contact:
Re: Link to File Problem
Hmmm do you have a link where we can see the article?
Maybe your used editor is causing this. Try to edit the article using another one (CodeMirror or None for example),
Maybe your used editor is causing this. Try to edit the article using another one (CodeMirror or None for example),
-
dounne
- Phoca Member

- Posts: 19
- Joined: 12 Jun 2011, 16:37
Re: Link to File Problem
@SonRiab, yes, sure : http://www.ies-sabinar.com/index.php?op ... Itemid=127
If you click on "decargar el catálogo" it works perfectly as I mentioned before but if I copy and paste "{phocadownload view=file|id=7}" it only shows me the code on the article ... I changed the editor as you told me but it still the same.
Look at thoses pics ... if you see something wrong ...


If you click on "decargar el catálogo" it works perfectly as I mentioned before but if I copy and paste "{phocadownload view=file|id=7}" it only shows me the code on the article ... I changed the editor as you told me but it still the same.
Look at thoses pics ... if you see something wrong ...

