Zen Cart Logo
Forums / All Other Contributions/Addons / in store notifications module

in store notifications module

Views: 465

Results 1 to 2 of 2
14 Jan 2014, 9:38 AM
#1
lofu avatar

lofu

New Zenner

Join Date:
Jan 2014
Posts:
7
Plugin Contributions:
0

in store notifications module

Hi, everyone, just want to know, do Zencart have internal message notifications? just like this forum, when we have a new message, the header will have a Notifications icon show up. I know an internal message function which the default zencart not include, just want to know, any module can do that?

Thanks

14 Jan 2014, 11:47 AM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: in store notifications module

I don't know of a specific plugin that takes advantage of the $messageStack system based on external input, but there is a global variable $messageStack that displays a message at the top of the screen upon refresh. The functionality could be designed to keep the message posted until some other event causes it to disappear. Because it is a global variable, any function/module that needs to use it must declare the variable: global $messageStack