Welcome, Guest
Username: Password: Remember me

TOPIC: Creating LOGS whenever an action (Save, Edit, Dele

Creating LOGS whenever an action (Save, Edit, Dele 24 Feb 2014 13:36 #12237

  • neoneper
  • neoneper's Avatar
  • Offline
  • Junior Member
  • Posts: 35
  • Thank you received: 2
  • Karma: 0
Hello! After 2 months of hard work in creating a component for my client, I am now in the final considerations!. This is thanks to the wonderful generator J-cook. First of all I want to once again thank you for this great service!.

On the subject of this topic, doubt was already well clear!.
I need register in database, (LOGS), whenever it the actions (Edit, Save, and Delete) are called on the component forms.

I'm trying to figure out where these calls are in the scripts so I can interceptalas to and include this routine, but I'm not having success in discovering where these routines are being called. Please someone could give me a strength to exclarecer this question?
Thank you!
The administrator has disabled public write access.

Creating LOGS whenever an action (Save, Edit, Dele 24 Feb 2014 20:56 #12239

  • etc
  • etc's Avatar
  • Offline
  • Premium Member
  • Posts: 132
  • Thank you received: 19
  • Karma: 7
Hi, you may consider to create plugin with some of these events
The administrator has disabled public write access.
The following user(s) said Thank You: neoneper

Creating LOGS whenever an action (Save, Edit, Dele 25 Feb 2014 12:40 #12246

  • neoneper
  • neoneper's Avatar
  • Offline
  • Junior Member
  • Posts: 35
  • Thank you received: 2
  • Karma: 0
I did not know about system event. It seems wonderful. I never made a plugin, I have no experience in this area, but I will study the link you gave me and try this way. Thank you friend
The administrator has disabled public write access.

Creating LOGS whenever an action (Save, Edit, Dele 25 Feb 2014 13:24 #12249

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
@etc. Thanks for sharing this doc.

The events are only catchable from plugins.
This is really good, but also ennoying when you want to use plugins inside the component.
FoF breaks this limit, and so soon, you gonna be able to use plugins insiode the component
Coding is now a piece of cake
The administrator has disabled public write access.
Time to create page: 0.100 seconds

Get Started