False Lead - URL to a Galactic Nowhere


(Roddy A. Stegemann) #1

This URL leads to nowhere.

https://github.com/matomo-org/matomo/blob/master/plugins/ExamplePlugin/Widgets.php

It was obtained here:
<Widgets - Matomo Analytics (formerly Piwik Analytics) - Developer Docs - v2?

Is there another example somewhere?

Roddy


(Lukas Winkler) #2

Hi,

You are reading the Piwik 2.x docs which haven’t been updated since.

The new file should be here:

You can also take a look at the example plugin here:

Or just use the ./console generate:widget command to add a widget to your plugin.


(Roddy A. Stegemann) #3

Hi, Lukas!

My fundamental problem is getting any widget to render on a webpage without: one, exposing the authorization token; and two, not enabling access to the entire reporting UI. Any help in this regard would be greatly appreciated.

Roddy