Ticket #791 (closed Bug: fixed)

Opened 9 months ago

Last modified 8 months ago

Widget URL parameters not working

Reported by: hass Owned by:
Priority: major Milestone: Piwik 0.4.2
Component: Documentation Keywords: Widget
Cc: Sensitive:

Description

The widget isn't working very well. I figured out a few bugs that block further development of the Drupal module.

1. token_auth isn't taken into account. Security data problem. Expected: token_auth need to work

2. viewDataTable=generateDataChartPie isn't taken into account. Additional UserSettings.getBrowser (Table) and UserSettings.getBrowserType (Pie Chart) show the same data, but don't follow any logic in naming (pie vesus table). Therefore I'm not able to pre-configure a widget to show as pie chart if I do not like to show the standard table. If the parameter is only named differently, please shed some light to me. Expected -> a URL parameter that allows to select a specific chart type.

3. If I preconfigure the widget to filter_limit=8, this value is taken into account first. If I use the dataTableFooterIcons to switch to a different view I only need to click on the bars and than back to table view and the filter limit is reset to 3. Expected -> The original filter limit should be kept.

4. I cannot see anything happens if disableLink=1 is used or not.

5. enable_sort seems to have no function.

Attachments

embedding_widgets.txt Download (2.5 KB) - added by vipsoft 9 months ago.
proposed text for /wiki/API/EmbeddingWidgets

Change History

Changed 9 months ago by vipsoft

1. already ticketed in #790

2. for the iframe (widgetize) API, you'll want to use viewDataTable= set to one of:

  • cloud
  • graphPie
  • graphVerticalBar
  • graphEvolution
  • table
  • tableGoals
  • tableAllColumns

3. I've added this requirement to #90

4. used on evolution graphs, i.e., click on a date in the graph to open the dashboard for that date

5. enables/disables column sorting on a datatable; it isn't part of the iframe (widgetize) API

Changed 9 months ago by vipsoft

proposed text for /wiki/API/EmbeddingWidgets

Changed 9 months ago by vipsoft

  • component changed from Core to Documentation

Changed 8 months ago by vipsoft

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.