NolaPro Login

Custom Code Hooks

What are these?

  • Custom code hooks are specialized functions which provide the ability to have your own custom PHP code executed when users perform various actions in the system.

    How do they work?

  • You can simply write a function that you want to perform some additional task and then assign it to a predefined hook (also called an event or trigger point). When the hook is reached it will call the function(s) that you registered with the event. A trigger point might be when a customer record is modified, an order added, or payroll hours entered.

    What are some example of their uses?

  • If you want to create your own invoice or order PDF format, you can have it pop up in a new window whenever an order or invoice is added or updated.

  • You could create your own event tracking and reporting system to monitor activity (we do provide this exact functionality as a separate add-on, but you may wish to expand or modify).

  • If you use a 3rd party HR/Payroll system like iEmployee for example, you could write code to update that system when payroll changes are made.

  • You could integrate with a separate shopping cart system and use the triggers to let that system know when new inventory arrives from POs so quantities can be updated. It could also notify when new items are added.

  • You could use it to update a separate lead tracking system that needs to know when customer address/phone info is changed, or when new orders or invoices have been created, or payments made.

  • You could add code so that a manager can receive copies of emails whenever the mass emailer is used.

  • You could also add additional custom email notifiers that go out to managers whenever someone deletes a payment, invoice, or check.

    Check out the Custom Code Hooks guide to see all available triggers.


    Available in NolaPro 4.0.3065 and higher