Thanks for the reply
As per suggestion we might move for new page construction.
I will elaborate on the requirement
- we will get n number of values in request parameter
2)Depending on the number of request parameter values we need to construct that many number of widgets i.e if we get 4 values in request parameter we need to construct 4 widgets in the page
3)What each widgets will house depends on the value in each request parameter(based on the value in request param, each widget has to query the db and construct line dig/bar charts). This would imply each widget needs seperate function or controller to display the contents(chart/line dig)
So this requirement would demand dynamic construction of widgets capable of displaying differnet data. Before runtime, there is no way that we can decide upon the number of controllers or methods inside controllers, for us to tie them to widgets (because the number of widgets and data to be displayed depends on request parameter)
Also we are displaying piwik data in another application using iframe include. So user will not have control to add widgets (also requirement demands user not to do so). Dynamic construction and display of widgets is what we are eyeing at.Please let us know if Piwik_AddMenu and Smarty templates, will help our cause. More pointers would really be handy for us since we new and trying stuff for the first time