Topic: pnmodcallhooks
Jusuff
avatar
Helper
Helper
Posts: 164

Posted:
13.Aug 2006 - 18:08

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
markwest

Moderator
Moderator
Posts: 7720

Posted:
13.Aug 2006 - 21:04

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
Jusuff
avatar
Helper
Helper
Posts: 164

Posted:
14.Aug 2006 - 04:39

Tanks a lot for the reply.

--
Polish Zikula Team

Bianor Works - my Zikula works on CoZi
debfahey
avatar
Freshman
Freshman
Posts: 13

Posted:
12.Oct 2006 - 22:49

Hey, this question just came up for me today, too. Very timely and straightforward response.

Thank you for helping us newbies.