- Moderated by:
- Support
-
- rank:
-
Freshman
- registered:
- October 2002
- Status:
- offline
- last visit:
- 24.08.06
- Posts:
- 10
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. -
- rank:
-
Steering Committee
- registered:
- December 2002
- Status:
- offline
- last visit:
- 28.11.08
- Posts:
- 13417
Code
<!--[pngetstatusmsg]-->
will report either a status message, or an error message if it exists. If both exist, it will return the error message.
--
Regards,
Simon
itbegins.co.uk - Zikula Consulting
Please read the Support Guide -
- rank:
-
Freshman
- registered:
- October 2002
- Status:
- offline
- last visit:
- 24.08.06
- Posts:
- 10
-
- rank:
-
Steering Committee
- registered:
- December 2002
- Status:
- offline
- last visit:
- 28.11.08
- Posts:
- 13417
Feel free to add it! Everyone registered here has the ability to modify the Wiki - please lend a hand...
--
Regards,
Simon
itbegins.co.uk - Zikula Consulting
Please read the Support Guide
