0

I'm creating a custom UI using the piwik API too call the various modules.

I'm basing it all on this php tutorial: http://dev.piwik.org/trac/wiki/API/CallingTechniques

My question is: because there could be up too 10+ modules being called on one page is their a more efficient way to call them instead of the example in the above link?

If not, is there a way to display some sort of "loading..." text or something before the module is loaded as it can take sometime?

Thanks

4

1 に答える 1

1

モジュールを非同期で呼び出すことができます。jQuery Ajax 関数http://api.jquery.com/jQuery.ajax/を使用してみてください。ローディング中はローディングイメージを簡単に表示できます。

于 2011-01-12T15:21:17.907 に答える