- Moderated by:
- Support
-
- rank:
-
Helper
- registered:
- April 2005
- Status:
- offline
- last visit:
- 30.11.08
- Posts:
- 164
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 -
- rank:
-
Moderator
- registered:
- March 2002
- Status:
- offline
- last visit:
- 26.08.08
- Posts:
- 7720
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 -
- rank:
-
Helper
- registered:
- April 2005
- Status:
- offline
- last visit:
- 30.11.08
- Posts:
- 164
