How to update the wordpress-piwik-widget?


(Endogen) #1

Hi all,

i added a widget to my wordpress sidebar:

<object type="application/x-shockwave-flash" bgcolor="#FFFFFF" data="http://david-strohmayer.net/piwik/libs/open-flash-chart/open-flash-chart.swf?piwik=0.5.4" width="100%" height="150" id="VisitsSummarygetEvolutionGraphChart_swf" style="visibility: visible; "><param name="allowScriptAccess" value="always"><param name="wmode" value="transparent"><param name="flashvars" value="data-file=http%3A%2F%2Fdavid-strohmayer.net%2Fpiwik%2Findex.php%3Fmodule%3DVisitsSummary%26action%3DgetEvolutionGraph%26columns%5B%5D%3Dnb_visits%26idSite%3D1%26period%3Dday%26date%3D2010-01-07%2C2010-02-05%26viewDataTable%3DgenerateDataChartEvolution&id=VisitsSummarygetEvolutionGraphChart_swf&loading=Laden..."></object>

The problem is, it will just stay that way… it will not update - i thought it will show the new stats every day but its always the same. Is that how it should work? And if yes, how can i make it automatically update the date to show the up-to-date-stats?

THX,
E.


(Endogen) #2

no idea?? there must be someone that actually understands what a piwik widget does…


(Christian Schneider) #3

You add a fixed date in the code: “2010-01-07%2C2010-02-05”

Try to change this to “yesterday”.

Regards,
Christian.


(Endogen) #4

it works now because i used the iframe and not the flash widget… no information anywhere about that style_emoticons/<#EMO_DIR#>/sad.gif

THANK YOU for answering style_emoticons/<#EMO_DIR#>/smile.gif