Page 2 of 2
Re: Results with phoca download search plug-in
Posted: 23 Oct 2013, 07:33
by topette
It worked for me in second line like:
$listFiles[$key]->href = "
http://mywebsite.com/phocadownload/".($ ... filename2);
But i need to open in "_blank" and i donĀ“t know hot to add
Re: Results with phoca download search plug-in
Posted: 18 Nov 2013, 10:42
by Mortadelo
I will show you how i do it:
File View is ON to my website so when i access a file link is like this: website.net/menuname/file/fileid-filenamealias.html
phocadownload.php
line 243:
' "2" AS browsernav, c.id as catid, c.alias as catalias, a.id as articleid, a.alias as articlealias');
after line 273 add this:
$listFiles[$key]->href = "/menuname/file/".$value->articleid .$a = "-" .$value->articlealias .$b = ".html";
Remove .$b = ".html if you dont have .html to your pages!
This worked for me!