I created three modules, and use other two modules fields in one module. So can it be possible to show all fields of other modules audit log show in single module audit log.
If is it possible, then please let me know the way, how to achieve this thing.
For example : i have created two custom module viva studio
Module 1
Module 2
Module 3
In Module 1 Edit View, i also add custom template footer and showing the other two module fields here .
I need the audit log of all there modules in single audit log view .
You can start by having a look at the database, the tables are called accounts_audit, contacts_audit, etc. From there you can get your information.
Then it’s a matter of customizing the view you want to change, and from there you can query the database directly with SQL and show the data in a table.
hello pgr,
I want to edit audit log view tpl file.
Which file need to edit?
The problem is I have one dependent dropdown field. and in audit log it displayed its value insted of lable.
like “parentDropdown_chileValue1”
I searched the label “Fields audited in this module”, and found it was called “LBL_AUDITED_FIELDS”. Then I searched for that and I got to that file.
It seems the same file is used for all modules. And it seems that, for convenience, it uses the “popup picker” class, which I believe is what is used whenever you click to select a Contact, for example, and a pop-up appears.
If you make that change generic we can include it in the source code so everybody gets nice dropdown labels in their audit tracks.
Anyway, you need to decide first which approach you’re going to adopt: if you’re working to contribute code to core, you shouldn’t extend it, you should just change it.
But if you working on a local customization only, then you can look into extending it.