Ask Your Question

How come the greeting for first time users appears?

asked 2013-05-18 07:21:03 -0600

kate_r's avatar

updated 2013-05-18 12:07:25 -0600

Evgeny's avatar


If I understand it correctly, the template for the greeting is widgets/system_messages.html but the div block has


How come when a user arrives for the first time, the div block becomes


Which function changes the style of that block?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-05-18 12:06:53 -0600

Evgeny's avatar

The message is shown by javascript, by jQuery fadeIn() at: askbot/media/js/utils.js:notify().

edit flag offensive delete link more


So does that mean widgets/system_messages.html is not used at all to generate the greeting?

kate_r's avatar kate_r  ( 2013-05-20 10:45:30 -0600 )edit

That specific greeting shows just once, there was a complaint when it was showing to the anonymous users every time. The way messages work: they are initially printed with display none, then faded in with js to get the animation effect.

Evgeny's avatar Evgeny  ( 2013-05-20 13:44:47 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-05-18 07:21:03 -0600

Seen: 151 times

Last updated: May 18 '13