Fork me on GitHub

Can't get hooks to work in .76  Bottom

  • 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!
  • 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?

This list is based on users active over the last 60 minutes.