Twitter service The use of widget twitter is no longer supported. The variable twitterWidgetId has therefore been removed from the rendering of this service. If you override it, you must remove the tests on this variable, as well as its use in the .twitter-timeline link.
Example:
Oops! Copy to clipboard failed. Open the code and copy it manually.<xsl:template name="common-service-body-nonempty-content-content">
<xsl:choose>
<xsl:when test="normalize-space($twitterWidgetId) != ''">
<a class="twitter-timeline" href="https://twitter.com/{$username}" data-widget-id="{$twitterWidgetId}" data-screen-name="{$username}">
<xsl:if test="normalize-space($max) != ''">
<xsl:attribute name="data-tweet-limit"><xsl:value-of select="$max"/></xsl:attribute>
</xsl:if>
<i18n:translate>
<i18n:text i18n:key="PLUGINS_SOCIAL_NETWORKING_TWITTER_STREAM"/>
<i18n:param name="username"><xsl:value-of select="$username"/></i18n:param>
</i18n:translate>
</a>
</xsl:when>
<xsl:when test="$rendering-context = 'back'">
<xsl:call-template name="display-bo-warning-message">
<xsl:with-param name="titleI18nKey" select="'plugin.socialnetworking:PLUGINS_SOCIAL_NETWORKING_TWITTER_WARNINGS'"/>
<xsl:with-param name="htmlMessage"><i18n:text i18n:key="PLUGINS_SOCIAL_NETWORKING_TWITTER_WARNING_NO_WIDGET_ID"/></xsl:with-param>
</xsl:call-template>
</xsl:when>
</xsl:choose>
</xsl:template> <xsl:template name="common-service-body-nonempty-content-content">
<xsl:choose>
<xsl:when test="normalize-space($twitterWidgetId) != ''">
<a class="twitter-timeline" href="https://twitter.com/{$username}" data-widget-id="{$twitterWidgetId}" data-screen-name="{$username}">
<xsl:if test="normalize-space($max) != ''">
<xsl:attribute name="data-tweet-limit"><xsl:value-of select="$max"/></xsl:attribute>
</xsl:if>
<i18n:translate>
<i18n:text i18n:key="PLUGINS_SOCIAL_NETWORKING_TWITTER_STREAM"/>
<i18n:param name="username"><xsl:value-of select="$username"/></i18n:param>
</i18n:translate>
</a>
</xsl:when>
<xsl:when test="$rendering-context = 'back'">
<xsl:call-template name="display-bo-warning-message">
<xsl:with-param name="titleI18nKey" select="'plugin.socialnetworking:PLUGINS_SOCIAL_NETWORKING_TWITTER_WARNINGS'"/>
<xsl:with-param name="htmlMessage"><i18n:text i18n:key="PLUGINS_SOCIAL_NETWORKING_TWITTER_WARNING_NO_WIDGET_ID"/></xsl:with-param>
</xsl:call-template>
</xsl:when>
</xsl:choose>
</xsl:template> Voir le code
<xsl:template name="common-service-body-nonempty-content-content">
<xsl:choose>
<xsl:when test="normalize-space($twitterWidgetId) != ''">
<a class="twitter-timeline" href="https://twitter.com/{$username}" data-widget-id="{$twitterWidgetId}" data-screen-name="{$username}">
<xsl:if test="normalize-space($max) != ''">
<xsl:attribute name="data-tweet-limit"><xsl:value-of select="$max"/></xsl:attribute>
</xsl:if>
<i18n:translate>
<i18n:text i18n:key="PLUGINS_SOCIAL_NETWORKING_TWITTER_STREAM"/>
<i18n:param name="username"><xsl:value-of select="$username"/></i18n:param>
</i18n:translate>
</a>
</xsl:when>
<xsl:when test="$rendering-context = 'back'">
<xsl:call-template name="display-bo-warning-message">
<xsl:with-param name="titleI18nKey" select="'plugin.socialnetworking:PLUGINS_SOCIAL_NETWORKING_TWITTER_WARNINGS'"/>
<xsl:with-param name="htmlMessage"><i18n:text i18n:key="PLUGINS_SOCIAL_NETWORKING_TWITTER_WARNING_NO_WIDGET_ID"/></xsl:with-param>
</xsl:call-template>
</xsl:when>
</xsl:choose>
</xsl:template> becomes
Oops! Copy to clipboard failed. Open the code and copy it manually.<xsl:template name="common-service-body-nonempty-content-content">
<a class="twitter-timeline" href="https://twitter.com/{$username}">
<xsl:if test="normalize-space($max) != ''">
<xsl:attribute name="data-tweet-limit"><xsl:value-of select="$max"/></xsl:attribute>
</xsl:if>
<i18n:translate>
<i18n:text i18n:key="PLUGINS_SOCIAL_NETWORKING_TWITTER_STREAM"/>
<i18n:param name="username"><xsl:value-of select="$username"/></i18n:param>
</i18n:translate>
</a>
</xsl:template> <xsl:template name="common-service-body-nonempty-content-content">
<a class="twitter-timeline" href="https://twitter.com/{$username}">
<xsl:if test="normalize-space($max) != ''">
<xsl:attribute name="data-tweet-limit"><xsl:value-of select="$max"/></xsl:attribute>
</xsl:if>
<i18n:translate>
<i18n:text i18n:key="PLUGINS_SOCIAL_NETWORKING_TWITTER_STREAM"/>
<i18n:param name="username"><xsl:value-of select="$username"/></i18n:param>
</i18n:translate>
</a>
</xsl:template> Voir le code
<xsl:template name="common-service-body-nonempty-content-content">
<a class="twitter-timeline" href="https://twitter.com/{$username}">
<xsl:if test="normalize-space($max) != ''">
<xsl:attribute name="data-tweet-limit"><xsl:value-of select="$max"/></xsl:attribute>
</xsl:if>
<i18n:translate>
<i18n:text i18n:key="PLUGINS_SOCIAL_NETWORKING_TWITTER_STREAM"/>
<i18n:param name="username"><xsl:value-of select="$username"/></i18n:param>
</i18n:translate>
</a>
</xsl:template> <xsl:choose /> a été supprimé, ainsi que les attributs data-widget-id et et data-screen-name.