Topic Closed
Stano
483 Posts
37.2K 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
37.2K 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 Final
8/12/2015

The final release of gpEasy 4.5 is now available for download! As always, many thanks ... Read More

4.5 Release Candidate 2
7/27/2015

The second release candidate of gpEasy 4.5 is now available for download.

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