Fork me on GitHub

Where does the 'errormsg' session var display?  Bottom

  • I'm working on a module, and I'm trying to use pnSessionSetVar('errormsg',"An error occured") to display errors. However, none of my error messages show up, even when I purposely set them.

    Does anyone know how to fix this? I have included in my pnrender template, but there doesn't seem to be a corresponding call for an errormsg.

    Thanks.
  • Code

    <!--[pngetstatusmsg]-->


    will report either a status message, or an error message if it exists. If both exist, it will return the error message.

    --
    itbegins.co.uk - Zikula Consulting

    birtwistle.me.uk - Personal Blog


    Please read the Support Guide
  • Thanks!

    Stuff like this should really be on the Wiki...
  • Feel free to add it! Everyone registered here has the ability to modify the Wiki - please lend a hand...

    --
    itbegins.co.uk - Zikula Consulting

    birtwistle.me.uk - Personal Blog


    Please read the Support Guide

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