| Topic: | pnmodcallhooks |
|---|---|
|
Jusuff
Helper
Posts: 164 Posted: |
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
Posts: 7720 Posted: |
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
Helper
Posts: 164 Posted: |
Tanks a lot for the reply. -- Polish Zikula Team Bianor Works - my Zikula works on CoZi |
|
debfahey
Freshman
Posts: 13 Posted: |
Hey, this question just came up for me today, too. Very timely and straightforward response. Thank you for helping us newbies. |