XF 2.2 Admin Panel: data importing - I need a simple example (5 - 10 lines of code) for the Pub

Scandal

Well-known member
I have done lots of things with developement, but I need some help also with this. :)

Let's say we are on an Admin Pub controller (actionProcessing).
Let's say that we have to run a huge amount of queries (something like a data importing), with the last item (id?) will be on the variable $last_item.

I want to make the admin panel to display this:
Importing... (x)
Where x the amount of data ($count).

I think this is done with a way so it is not an individual POST to the server, but the system is refreshing the session and returns the phrase to the browser.

Can someone help me to understand how I can make this on xF2?
Maybe 5 - 10 example lines of code that should be added to the actionProcessing would be very useful. :)
 
This would be very helpful to know, since I need to develope some data importers. :)

* it is for the Admin controller
 
Top Bottom