How do I embed a download onto a page?
Posted: 18 May 2012, 05:25
Hello,
I want to be able to embed some files that i have uploaded using Phoca onto a private user page. Can I do this?
I don't want to have everyone be able to download the file, only certain people. I don't want to publish Phoca publicly. Or is there a way to control who can see what files? Basically I want only some students to be able to download certain files and others are not allowed.
I uploaded 3 test items, got the ID numbers and I tried to use this code, but it doesn't work. I've even downloaded the Phoca Download button to use that to insert, but nothing shows up >> http://linux6.hypmedia.com/luckycat/about-us
PDF
Download
{phocadownload view=file|id=1|text=File|target=s}
Mp3
Download
{phocadownload view=file|id=2|text=File|target=s}
Play
{phocadownload view=fileplaylink|id=2|text=File|playerwidth=328|playerheight=260|playerheightmp3=30}
Video
Download
{phocadownload view=file|id=3|text=File|target=s}
Preview
{phocadownload view=filepreviewlink|id=3|previewwidth=640|previewheight=480}
I read the instructions here: https://www.phoca.cz/demo/phoca-download-plugin
Nothing shows up on the page though when I put this code in. Is there something else I need to do to activate it?
Thanks for your help!
I want to be able to embed some files that i have uploaded using Phoca onto a private user page. Can I do this?
I don't want to have everyone be able to download the file, only certain people. I don't want to publish Phoca publicly. Or is there a way to control who can see what files? Basically I want only some students to be able to download certain files and others are not allowed.
I uploaded 3 test items, got the ID numbers and I tried to use this code, but it doesn't work. I've even downloaded the Phoca Download button to use that to insert, but nothing shows up >> http://linux6.hypmedia.com/luckycat/about-us
Download
{phocadownload view=file|id=1|text=File|target=s}
Mp3
Download
{phocadownload view=file|id=2|text=File|target=s}
Play
{phocadownload view=fileplaylink|id=2|text=File|playerwidth=328|playerheight=260|playerheightmp3=30}
Video
Download
{phocadownload view=file|id=3|text=File|target=s}
Preview
{phocadownload view=filepreviewlink|id=3|previewwidth=640|previewheight=480}
I read the instructions here: https://www.phoca.cz/demo/phoca-download-plugin
Nothing shows up on the page though when I put this code in. Is there something else I need to do to activate it?
Thanks for your help!