Record CSV Downloads

Discussions related to customizing hooks. Hooks are documented at http://bigprof.com/appgini/help/advanced-topics/hooks/
Post Reply
bescott53

Record CSV Downloads

Post by bescott53 » 2019-11-07 09:33

is it possible to record in a table what someone has downloaded using csv?

User avatar
onoehring
AppGini Super Hero
AppGini Super Hero
Posts: 1156
Joined: 2019-05-21 22:42
Location: Germany
Contact:

Re: Record CSV Downloads

Post by onoehring » 2019-11-08 16:02

Hi,

this should actually be quite easy. Use the hooks/tablename.php file and there the function ..._csv(.
This function is called when the CSV export is requested. So, simply add some php code there to write whatever you want to a (new) table. This coule be the memberID (you get $memberInfo), tablename, timestamp etc.

Olaf

Post Reply