Previous1Next
Stano
Posts: 483
Themes: 1
Plugins: 14
Downloads: 31.9k

I would like to add a hook for the action GetContent_After, but I don't know, what and where should I write. What commands or directives? must be written in the Addon.ini file and what in gadget.php script? Some example please... thanks.

3 years ago#2077
Stano
Posts: 483
Themes: 1
Plugins: 14
Downloads: 31.9k

Well, all clear. First I thought, to use the function gpPlugin::Action('GetContent_After'); as shown here, but it is an example of how does the hooks work. The solution is alike described here:

Addon.ini

[GetContent_After]
script = ccm_gadget.php
method = ccm_gadget::GetCookies

Edited: 3 years ago#2092
Previous1Next

gpEasy News

4.3.2
2/18/2014

The final release of gpEasy 4.3.2 is now available. This is primarily a third-party package ... Read More

4.3 Final
11/4/2013

The wait is over. The final release of gpEasy 4.3 brings some exciting new features ... Read More

More News

We have Web Hosting packages designed for you.

* Domain name registration * Web hosting * Private e-mails * Custom Development * Hardware sales * Networking * Games * Support (OS,Antivirus etc)

Find out more about gpEasy's Provider Spotlight

Log In

  Register