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

Dizkus

Bottom
Can't get hooks to work in .76
  • Posted: 21.11.2005, 21:31
     
    jediping
    rank:
    Helper Helper
    registered:
     November 2004
    Status:
    offline
    last visit:
    12.03.07
    Posts:
    387
    Before the upgrade, I had hooks working, and now I can't get them to work, and I can't figure out why not!

    I used to assign the value "hooks" to the template and then just display it at the end, but the new way seems to be something along these lines:

    Code

    <!--[pnmodurl modname=projects type=projects func=display projid=$projid assign=returnurl]-->
    <!--[pnmodcallhooks hookobject=item hookaction=display hookid=$projid module=projects returnurl=$returnurl]-->


    However, when I put that at the bottom of my display template, all that shows up on the screen are a couple of blocks from the right-side column. (pnCPG and PostCalendar)

    Any ideas on what I'm doing wrong? I'm at a complete loss!
  • Posted: 21.11.2005, 22:20
     
    jediping
    rank:
    Helper Helper
    registered:
     November 2004
    Status:
    offline
    last visit:
    12.03.07
    Posts:
    387
    Edit:

    The problem seems to actually come from the PostCalendar block, because I removed it, and now it works. Any ideas if this is a PC problem or one in my own module?

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula