POST Deployment v1.19.0
Update Header designs
MANDATORY
After improving the accessibility of community header, it is necessary to update the header designs. To do this, access the Header configuration.
- Access to Syntphony Settings (previously called TOGO Settings).
- Access the This Tenant menu.
- Access the Header section.
- In the Designs list, open each design and add or replace the following code in the Follow button:
"dataTestid": "header-follow-button",
"text": "@eval({base.socials.follow.status} ? {'en-US': 'Following','es-ES':'Siguiendo', 'it-IT': 'Seguendo'} : {'en-US': 'Follow','es-ES': 'Seguir', 'it-IT': 'Segui' })",
"ariaLabel": "@eval('Follow ' + {base.title} + ' community')",
"hoverText": "@eval({base.socials.follow.status} && {'en-US': 'Unfollow','es-ES': 'Dejar de seguir', 'it-IT': 'Smetti di seguire' })",
"visible": "@eval({base.socialSettings.enable} && {base.socialSettings.actions.enable} && {base.socialSettings.actions.actions.follow})",- Click the arrow to return to the Designs list, and click Save.
NOTE: APPLY THIS SAME PROCEDURE TO ALL COMMUNITY HEADER DESIGNS RELATED TO THIS FEATURE.
Add validation to News addons
MANDATORY
In order to enable the 255-character limit for the summary field in the News add-on, the News forms must be changed.
Creation form
- Access to Syntphony Settings (previously called TOGO Settings).
- Access the This Tenant menu.
- Access the Addons we want to update.
- Go to Forms section.
- Go to Creation form.
- In the Design tab, add the following validation in the summary field.
{
"name": "summary",
"type": "TextArea",
"label": {
"t": "forms.summary"
},
"description": {
"t": "forms.summaryDescription"
},
"validation": {
"expression": "^.{0,255}$",
"expressionErrorMessage": {
"en-US": "Character limit exceeded",
"es-ES": "Limite de caracteres superado"
}
}
}- Go back with the arrow, click on Publish.
Edition form
- Access to Syntphony Settings (previously called TOGO Settings).
- Access the This Tenant menu.
- Access the Addons we want to update.
- Go to Forms section.
- Go to Edition form.
- In the Design tab, add the following validation in the summary field.
{
"name": "summary",
"type": "TextArea",
"label": {
"t": "forms.summary"
},
"description": {
"t": "forms.summaryDescription"
},
"value": "{base.description}",
"validation": {
"expression": "^.{0,255}$",
"expressionErrorMessage": {
"en-US": "Character limit exceeded",
"es-ES": "Limite de caracteres superado"
}
}
}- Go back with the arrow, click on Publish.
NOTE: APPLY THIS SAME CHANGES TO ALL NEWS ADDONS.