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 8 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 8 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 8 years ago

Thank you

Your Answer

15 + 12 =

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?