Putting them fancy AJAX alerts at the top of the screen

Matthew Marum —  June 19, 2012 — 6 Comments

I came across a forums question like this the other day.

I see all those super flashy AJAX alerts that appear at the top of the screen while I’m using Sugar that look like this…

How can I use that same thing in my app?

This is really easy to do, and something you can trigger via javascript anywhere in your code. Here’s a small snippet on how to do this:

Matthew Marum


Matt is the Lead Developer Advocate for SugarCRM Engineering. Previously he was an Engineer on Sugar 7 and a Solutions Architect for the OEM program. He is also an avid trail runner, Boston Marathon qualifier and a karaoke aficionado.

6 responses to Putting them fancy AJAX alerts at the top of the screen


    can any one tell me where should i write this code

    Markus Ziegler June 21, 2012 at 6:05 am

    Thanks again john🙂


    How do you implement this in Sugar7?


      nvm, found it

      app.alert.show(‘message-id’, {
      level: ‘process’,



Trackbacks and Pingbacks:

  1. Altering the SugarCRM UI to highlight areas – The Aust Gate - March 14, 2013

    […] on screen load. The SugarCRM post had an example of doing this with a very simple addition using ajaxStatus which prints out a brief message on the top of a screen.The code itself is really rather simple (in the best way of doing somethings […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s