Topic Closed
Stano
483 Posts
36.1K Downloads
1 Themes
14 Plugins

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.

4 years ago#2077

Stano
483 Posts
36.1K Downloads
1 Themes
14 Plugins

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

Topic Closed

 

 

gpEasy News

4.5 Beta 3
6/7/2015

The third beta release of gpEasy 4.5 is now available for download.

4.5 Beta 2
5/27/2015

The second beta release of gpEasy 4.5 is now available for download. Check out gpEasy ... Read More

More News

Les sites de terenez.com

Web hosting et services en ligne, votre site Internet à partir de 25€/an *Aide gp|Easy en français

Find out more about gpEasy's Provider Spotlight

Log In

  Register