Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
pnmodcallhooks
  • Posted: 13.08.2006, 18:08
     
    Jusuff
    rank:
    Helper Helper
    registered:
     April 2005
    Status:
    offline
    last visit:
    24.10.08
    Posts:
    162
    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
  • Posted: 13.08.2006, 21:04
     
    rank:
    Moderator 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
  • Posted: 14.08.2006, 04:39
     
    Jusuff
    rank:
    Helper Helper
    registered:
     April 2005
    Status:
    offline
    last visit:
    24.10.08
    Posts:
    162
  • Posted: 12.10.2006, 22:49
     
    debfahey
    rank:
    Freshman Freshman
    registered:
     May 2006
    Status:
    offline
    last visit:
    12.10.06
    Posts:
    13
    Hey, this question just came up for me today, too. Very timely and straightforward response.

    Thank you for helping us newbies.

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula