
Originally Posted by
reetp
Ahhh OK thanks. I was trying to get a log entry.
Being totally dense and a 'non-coder' i.e. amateur hack can you give me a rough idea of how you get a log entry or point me to some docs on the subject?
B. Rgds
John
So the operations are covered under the three classes related to event logging in admin/includes/classes, but a generic function that works with ZC 1.5.3 (I think or its 1.5.4 can't recall) and above without any additional code (there is a plugin by lat9 that supports backwards compatibility to 1.5.0 and above).
Code:
zen_record_admin_activity('my message to log.', 'warning');
That is an example with a warning style entry, but the others are covered in at least one of the three classes.
Pretty much can look for anywhere in the admin that say a customer's data is modified, or a sales record is modified for an example.
Bookmarks