I’m trying to create a new “hello world” Piwik plugin following the Getting Started tutorial. I’m also looking at how real life plugins are structured, because on my system I can’t run the generate:plugin command, so I’m doing everything manually.
at the moment, I wasn’t able to add a working menu sub-item for the sample plugin. I’m following the example at:
(section “Adding a menu item” ).
on the tutorial I read about a file Menu.php, I manually created one and added the tutorial code, but no luck.
I checked the structure of other plugins to see a real life Menu.php, but I didn’t find one in the plugins that came with my installation. so I wonder: are the examples in the developer section relative to the 1.* or the 2.* version? I’m trying to develop on the 2.*.
many advanced thanks for any suggestion.