Notifications and subscriptions


This page should only be used if the assisted migration script asks you to manually migrate skin.20251016.INTRANETSEARCH.PageSubscription

Version 2.10.x of the Search Intranet Charter integrates the functionalities of the Page Subscription plugin :

  • 2 page and theme subscription management services
  • a subscription notification center
  • a "Follow page" button to subscribe to a page

The notification center is displayed on all pages in the header to the left of the notification links.

 

The follow page button is displayed on all pages to the right of the breadcrumb trail.

 

If you've overloaded the "common-script" template, add the call to the template loading the JS required for the notification center and page tracking.

<xsl:call-template name="head-js-subscriptions"/>

If you've overloaded the header, in particular the "header-icons" template, add a call to the "my-subscriptions" template before the notification links.

<xsl:template name="header-icons">
        <div class="icons">
            <ul>
                <xsl:call-template name="search-button"/>
                
                <!-- My subscriptions -->
                <xsl:call-template name="my-subscriptions"/>
                <xsl:call-template name="top-links"/>
                <xsl:call-template name="alerts"/>
                
                <!-- User menu -->
                <xsl:call-template name="user-menu"/>
                
                <li class="burger">
                    <nav role="navigation" aria-label="skin.{$skin}:SKIN_NAV_MAIN_NAVIGATION" i18n:attr="aria-label">
                        <button aria-haspopup="dialog" aria-label="skin.{$skin}:SKIN_NAV_MAIN_NAVIGATION_MENU" i18n:attr="aria-label" onclick="openMenuMobile(this)"><i aria-hidden="true" class="fas fa-bars"></i></button>
                    </nav>
                </li>
            </ul>
        </div>
    </xsl:template>

If you have overloaded the template "main-zone page or page-2-columns templates, the template must be reused to insert the "Follow page" button in the <div class="page_actions">

Activation of the notification center and page tracking depends on a site parameter. It is necessary to activate the notification center and page tracking in the site settings to test the correct integration in your declination.

The notification center displays notifications related to the user's current theme subscriptions.
To test the notification center's integration, insert the "My subscriptions" service to subscribe to one or more themes. Select the instantaneous frequency and the "Intranet" channel to ensure that the notification center is not empty. All you have to do is modify/validate a theme's content to see it in the notification center.

Back to top