Joomla 3.4.8
Phoca Download 3.0.3
Piwik 2.15.0
Hello,
I'm using Phoca Download and Piwik. Unfortunately Piwik doesn't count downloads. I've searched the web but havn't found a solution.
Do you have an advice what to do?
Many thanks,
Lutz
Phoca Download and Piwik
- Benno
- Phoca Hero
- Posts: 9611
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Phoca Download and Piwik
Hi Lutz,
ich gehe mal bei Deinem Vornamen davon aus, dass Du deutschsprachig bist:
Warum willst Du die Anzahl von Downloads einer Datei mit Piwik zählen, wenn das unter Statistik in Phoca Download bereits gemacht wird? Warum das mit Piwik nicht geht, kann ich Dir nicht sagen (Ich verwende es nicht), ich benutze ein externes Statistik Programm (AWStats).
Freundliche Grüße,
Benno
ich gehe mal bei Deinem Vornamen davon aus, dass Du deutschsprachig bist:
Warum willst Du die Anzahl von Downloads einer Datei mit Piwik zählen, wenn das unter Statistik in Phoca Download bereits gemacht wird? Warum das mit Piwik nicht geht, kann ich Dir nicht sagen (Ich verwende es nicht), ich benutze ein externes Statistik Programm (AWStats).
Freundliche Grüße,
Benno
-
- Phoca Newbie
- Posts: 5
- Joined: 16 Jan 2014, 16:17
Re: Phoca Download and Piwik
Hallo Benno,
ist ganz einfach. Ich schaue öfters in Piwik in die Statistik, als dass ich mich bei Joomla an meiner Website anmelde. In Piwik sehe ich es gleich auf einen Blick, in Joomla muss ich mich erst bis zur Phoca Statistik durchklicken.
Und mit den Vorgängerversionen von Joomla, Piwik und Phoca Download hat es funktioniert. Leider sind meine HTML-, PHP- und CSS-Kenntnisse nicht so gut, dass ich den Grund herausfinden könnte, warum es jetzt nicht mehr geht.
Viele Grüße,
Lutz
ist ganz einfach. Ich schaue öfters in Piwik in die Statistik, als dass ich mich bei Joomla an meiner Website anmelde. In Piwik sehe ich es gleich auf einen Blick, in Joomla muss ich mich erst bis zur Phoca Statistik durchklicken.
Und mit den Vorgängerversionen von Joomla, Piwik und Phoca Download hat es funktioniert. Leider sind meine HTML-, PHP- und CSS-Kenntnisse nicht so gut, dass ich den Grund herausfinden könnte, warum es jetzt nicht mehr geht.
Viele Grüße,
Lutz
- Jan
- Phoca Hero
- Posts: 48566
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Download and Piwik
Hi, I don't have any experiences with Piwik so cannot give any clue advice, but did you ask Piwik developers?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 16 Jan 2014, 16:17
Re: Phoca Download and Piwik
Hi,
I found a solution.
Piwik count downloads if it recognizes a file extension. Unfortunately phoca links end with the download alias.
A second possibility is to extend the link with the css class piwik_download.
I changed the file default_files.php. The appropriate line is
I changed it to
Now everything is fine.
Lutz
I found a solution.
Piwik count downloads if it recognizes a file extension. Unfortunately phoca links end with the download alias.
A second possibility is to extend the link with the css class piwik_download.
I changed the file default_files.php. The appropriate line is
Code: Select all
$linkDownloadB = '<a class="" href="'. JRoute::_(PhocaDownloadRoute::getFileRoute($v->id,$this->category[0]->id,$v->alias ....
Code: Select all
$linkDownloadB = '<a class="piwik_download" href="'. JRoute::_(PhocaDownloadRoute::getFileRoute($v->id,$this->category[0]->id,$v->alias...
Lutz
- Benno
- Phoca Hero
- Posts: 9611
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Phoca Download and Piwik
Danke für diese Anleitung!
Freundliche grüße,
Benno

Freundliche grüße,
Benno