I’ve spent a lot of time trying to figure out how the Piwik tables work. I’m trying to make a multi-column table in Piwik which is populated with data from the MySQL database. It seems that Piwik has a ‘standard’ table widget that is built in, but I can’t find many examples of how to use it. GeoIP, for example, uses a table, but it isn’t multi-column. Under Visitors->Visitor Log the table that shows up is pretty close to what I’m trying to produce, however after searching through ‘CoreHome’ I do not exactly understand how it is produced. Can anyone help me out with any files I should be looking at or any other info? Thanks!
Look at the full URL - e.g.
You initially loaded CoreHome.index but are now viewing module=Live&action=getLastVisitsDetails.
Have a look at trunk/plugins/Live/Controller.php - Line 43