Topic Closed
Stano
483 Posts
40.9K 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.

5 years ago#2077

Stano
483 Posts
40.9K 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

 

 

News

5.0 Beta 2
2/2/2016

The second beta release of Typesetter 5.0 is now available for download from github. This ... Read More

5.0b1
1/21/2016

The first beta release of Typesetter 5.0 is now available for download from github. This ... 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 our Provider Spotlight

Log In

  Register