Gossamer Forum
Quote Reply
Re: Hooks.... In reply to
PRE hooks can usually modify values and such, before they are placed on a page. While POST hooks modify the actual HTML which is passed through.

Also, basically when you create a hook, it does this:

In programs such as add.cgi, there is a user_add_link hook at the beginning. When is sees the hook, it searches the plugin.cfg file to see if there is any plugins which use the the user_add_link hook, and if there is, it runs a subroutine which you specify.

They all vary depending on were they are. I know that this is very VAGUE, but hopefully someone else can elaborate.


Robert Blackstone
Webmaster of Scato Search
http://www.scato.com
Subject Author Views Date
Thread Hooks.... Paul 13710 Feb 6, 2001, 10:22 AM
Thread Re: Hooks....
Robert_B 13401 Feb 6, 2001, 2:07 PM
Post Re: Hooks....
Paul 13367 Feb 6, 2001, 2:23 PM
Thread Re: Hooks....
Paul 13374 Feb 6, 2001, 2:28 PM
Thread Re: Hooks....
Alex 13371 Feb 6, 2001, 3:08 PM
Thread Re: Hooks....
Paul 13364 Feb 6, 2001, 3:16 PM
Thread Re: Hooks....
Alex 13362 Feb 6, 2001, 3:22 PM
Thread Re: Hooks....
Paul 13348 Feb 6, 2001, 4:01 PM
Thread Re: Hooks....
Alex 13375 Feb 6, 2001, 4:32 PM
Thread Re: Hooks....
Paul 13401 Feb 6, 2001, 4:36 PM
Thread Re: Hooks....
pugdog 13350 Feb 6, 2001, 6:14 PM
Post Re: Hooks....
Robert_B 13335 Feb 6, 2001, 6:50 PM
Thread Re: Hooks....
Paul 13320 Feb 7, 2001, 5:07 AM
Thread Re: Hooks....
padders 13332 Feb 7, 2001, 11:43 AM
Post Re: Hooks....
Paul 13317 Feb 7, 2001, 11:47 AM
Thread Re: Hooks....
Alex 13310 Feb 7, 2001, 12:45 PM
Thread Re: Hooks....
Paul 13332 Feb 7, 2001, 1:22 PM
Thread Re: Hooks....
Alex 13297 Feb 7, 2001, 1:34 PM
Thread Re: Hooks....
Paul 13285 Feb 7, 2001, 2:40 PM
Post Re: Hooks....
padders 13293 Feb 7, 2001, 3:00 PM
Post Re: Hooks....
Paul 13371 Feb 6, 2001, 3:23 PM