Fork me on GitHub

pnMessages Display messages in pnPiterpanV2  Bottom

  • I've gone over the Handbook trying to get the messages to display at the top in the PiterpanV2 theme. I change the

    Code

    <!--[displaygreeting]-->-

    To:

    Code

    <!--[pnmdisplaygreeting]-->-

    and move the fuction.pnmdisplaygreeting.php file to the correct folder and I only get a blank message at top of the page. HELP!
  • I always use the direct API call:

    Code

    <!--[pnmodapifunc modname="pnMessages" type="user" func="getmessagecount" assign="messages"]-->

    <a href="<!--[ pnmodurl modname="pnMessages" func="main" ]-->">
    Inbox: <!--[$messages.unread]--> | <!--[$messages.totalin]-->
    </a>


    You have all the information about the inbox in your template then.


    --
    best regards from Kiel, sailing city

    Steffen Voss

    Member of the Zikula Steering Committee
    Read The Zikulan's Blog "If you want people to RTFM, make a better FM!"
  • Thanks alot that greatly helped!!!

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