When add a record, record auto ip or user or both

QuestionsWhen add a record, record auto ip or user or both
Chris Doum asked 9 years ago

Hi Abu,I would like to know if there is possibility to recording the IP automatically anyone who make add a record, in a field on the same record. And if I’m using Joomla 3.4 (on the same DB with phpgrid), if it can record the user in another field.

2 Answers
Abu Ghufran answered 9 years ago

You can save additional fields or run another query on add process using on_insert event handler. Refer docs -> grid events

Chris Doum answered 9 years ago

Thank you

Your Answer

1 + 0 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?