Fork me on GitHub

pnmodcallhooks  Bottom

  • Whether applying pnmodcallhooks in templates rather than directly in API is involving some problems? I would prefer to call plugins through the template (greater possibilities of formating output from plugins) than through API.
    I am thanking in advance for the reply

    --
    Polish Zikula Team
    Bianor Works - my Zikula works on CoZi
  • No difference at all.... There are three types of hooks two of which are best used in templates (GUI hooks and transform hooks). The third type API hooks need to be called from the PHP code. The Example module provided with .762 shows the recommended places to call each hook type.

    -Mark

    --
    Visit My homepage and Zikula themes.
  • Hey, this question just came up for me today, too. Very timely and straightforward response.

    Thank you for helping us newbies.

This list is based on users active over the last 60 minutes.