Results 1 to 2 of 2

Thread: How to use server_round_trip logic hook

  1. #1
    routledge is offline Sugar Community Member
    Join Date
    Jan 2008
    Location
    London
    Posts
    98

    Default How to use server_round_trip logic hook

    Hello again ladies and gents

    After looking through the forums and wiki, i'm still at a loss as to how to set up and use the logic hook server_round_trip. For example where do I put the logic_hooks.php file, the module hooks are in the custom/modules/<module> folder.
    Second question is are there any examples of code to get me away as I would love to use this type of hook as a replacement for mysql triggers to sync data across databases.

    Regards

    John

  2. #2
    SugarDev.net is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    1,401

    Default Re: How to use server_round_trip logic hook

    Short answer: Logic hooks can be module specific, or global across all modules. In that case the file goes in custom/modules. This is all available at the Wiki by the way.

    Be careful of using this for triggers by the way, this hook is not always fired afaik.
    Developers go here
    Businesses go there (Dutch)

    Modules:
    SugarDev.net Developer Tools | Config | Dutch Language Pack
    "Nothing gets fixed unless there is a bug"

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Help on my first logic hook.
    By amrutha in forum Developer Help
    Replies: 9
    Last Post: 2009-11-24, 01:29 PM
  2. Replies: 3
    Last Post: 2009-08-15, 03:00 AM
  3. help with a logic hook
    By souheil in forum Français
    Replies: 12
    Last Post: 2009-03-13, 09:00 AM
  4. logic Hook up
    By sugar7478 in forum Developer Help
    Replies: 8
    Last Post: 2008-07-11, 02:40 AM
  5. Logic Hook
    By sacramentojoe in forum Help
    Replies: 15
    Last Post: 2007-07-31, 11:30 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •