Topic Closed
Stano
483 Posts
35.6K 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
35.6K 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
5/13/2015

The first beta of version 4.5 is now available to download. It's only been a week ... Read More

4.4
5/4/2015

gpEasy 4.4 is now available for download. The newest release is chock full of bug fixes, ... Read More

More News

VBOX Web Hosting

Our company provides professional web hosting which doesn't use any third party hosting software.

Find out more about gpEasy's Provider Spotlight

Log In

  Register