Phoca Download Plugin - link to file without ID?
Posted: 11 Nov 2010, 23:46
I want to be able to dynamically create a download link to a file without knowing it's phoca ID #.
For example, I'm using:
{phocadownload view=file|id=1|text=Click Here to Download Article}
but, when I'm dynamically generating this link, I only know the filename (and the alias), but I don't know "id=1". Is there anyway I can construct a download link without the ID? Or maybe there's a way to get the ID from the information I have?
For example, I'm using:
{phocadownload view=file|id=1|text=Click Here to Download Article}
but, when I'm dynamically generating this link, I only know the filename (and the alias), but I don't know "id=1". Is there anyway I can construct a download link without the ID? Or maybe there's a way to get the ID from the information I have?