[Piwik-hackers] how to set criteria before my widget is filled with data?
Sergey Stoyan
stoyan at cliversoft.com
Fri Jul 18 18:19:46 CEST 2008
Hi Matt,
> It seems it's more a usability question, what are you exactly trying to do?
>
> You could have a simple text field that when submitted ajax reload the page
> (with all the widgets) or the given widget, adding a new parameter to it.
>
Sorry, I'm new in ajax. What I want is to show an input form after the
widget is picked up and before it is displayed.
After the user filled my input form, I want the entered parameter to
be added to the widget request url and this url submitted so that the
widget is displayed.
My exact question is: how can I send the updated widget request from
within my html code that contains the input form?
If I send it like window.open(...), I get the default page
independently on what module and method are called in the url.
Thanks,
Sergey
>
> On Fri, Jul 18, 2008 at 3:16 PM, Sergey Stoyan <stoyan at cliversoft.com>
> wrote:
> >
> > Hi all,
> >
> > I wrote a plugin and added it to Piwik's Menu with several widgets
> proposed.
> > I need now to provide a possibility for the user to enter some text
> > criteria before the picked widget is filled with data.
> > It can be done as a text box in the widget or beside it (the last case
> > would be better because of this criteria is common for all widgets of
> > my plugin.
> >
> > Please advice a way to do this.
> >
> > May it be some html tab (like provided date and period) where the user
> > can enter data that will be saved to his session and then used within
> > the plugin?
> >
> > Thank you,
> > Sergey
> > _______________________________________________
> > Piwik-hackers mailing list
> > Piwik-hackers at piwik.org
> >
> http://lists.piwik.org/cgi-bin/mailman/listinfo/piwik-hackers
> >
>
>
> _______________________________________________
> Piwik-hackers mailing list
> Piwik-hackers at piwik.org
> http://lists.piwik.org/cgi-bin/mailman/listinfo/piwik-hackers
>
>
--
www.cliversoft.com
More information about the Piwik-hackers
mailing list