Jump to content


Jakes

Member Since 06 Apr 2017
Offline Last Active May 12 2017 07:57 AM
-----

Topics I've Started

Cancel redirecting wrong

19 April 2017 - 09:18 AM

Good day

 

Whenever I try to add a new item, I am able to click "Save and go back to list", which then returns me to the correct page (the page with the table that I used to initiate the adding of a new item). 

 

However, when I click on cancel, when attempting to add a new item, the browser is redirected incorrectly. Where can I find the redirect url in the code, in order to change the redirect url?

 

Any help will be appreciated.

 

Kind regards

Jakes


Logging all actions

06 April 2017 - 11:20 AM

Good day

 

I would like to be able to log all user actions, such as when they create a new item, view any item, update an item etc.

 

I would like to know where I would be able to add the necessary code to do this?

 

I would like to be able to log the username (from my login framework), the action performed (create, view, update or delete), as well as some basic identifying information about the item. This can include the id of the object, as well as the table in which the object is/was stored.

 

I will add some PHP code to store the log details to another table in the database.

 

Any help would be appreciated.

 

Kind regards

Jakes