Previous1Next
Stano
Posts: 432
Themes: 1
Plugins: 15
Downloads: 21,467

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.

2 years ago#2077
Stano
Posts: 432
Themes: 1
Plugins: 15
Downloads: 21,467

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: 2 years ago#2092
Previous1Next

gpEasy News

Third 4.0 Release Candidate
5/13/2013

The third release candidate for gpEasy 4.0 is now available. Next release: 4.0 Final! Download ... Read More

Second 4.0 Release Candidate
4/30/2013

The second release candidate for gpEasy 4.0 is now available. Download 4.0RC2 - Version ... Read More

More News