5 Replies Latest reply on Dec 19, 2013 8:35 AM by rhodeuk

    How can you enable notifications in a jive cloud instance?

    rhodeuk

      Hi,

       

      I'd like to enable toast notifications and the ability for nitro to post in the activity feed on my Jive Cloud instance but this doesn't seem to be an option.

       

      Am I missing something?

       

      Thanks

       

      Will

        • Re: How can you enable notifications in a jive cloud instance?
          asbrown1

          Hi Will, add this into footer-javascript:

           

          <#if skin.template.thirdPartyReportingEnabled>

              ${skin.template.thirdPartyReportingCode!}

          </#if>

           

           

          <#if chatPresenceManagerImpl.isPresenceAvailable()>

          <#include "/template/global/include/action-bar-macros.ftl" />

          <@renderEimActionBarStub/>

          <@renderEimJavascript/>

          </#if>

           

           

           

           

          <script type="text/javascript">

              $j(window).load(function(){

                  if (${streamPollingEnabled?string} && jive.ActivityStream.StreamSource) {

                      var streamServices = new jive.ActivityStream.StreamSource();

                      streamServices.newCount().addCallback(function (data) {

                          jive.switchboard.emit('activityStream.poll', data);

                      });

                  }

                  jive.onLoadEventComplete = true;

              });

          </script>

           

           

          <#-- GAMIFICATION NOTIFICATIONS -->

          <script src="//assets.bunchball.net/scripts/nitro/current/nitro.js" type="text/javascript"></script>

          <script type="text/javascript">

               $j(function() {

                   var nitro = new Nitro({

                     apiKey : "${JiveGlobals.getJiveProperty('nitro.client.apiKey')!}",

                     server : "${JiveGlobals.getJiveProperty('nitro.client.baseUrl')!}",

                     userId : window._jive_current_user.ID

                   });

                   nitro.showPendingNotifications();

              });

          </script>

          <#-- END GAMIFICATION NOTIFICATIONS -->