Like" button on content


This page should only be applied if the script assisted migration asks you to skip manual migration skin.20241021.INTRANETSEARCH.likes

Note that this migration is valid for versions 1.9.2 and 2.3.0. You may already have made this migration if you have already upgraded from 1.9.2 to 2.3.0.

To display "likes" on article or news content, the "common-content-body-content" template has been modified to insert the button under the content title, by calling the XSL "content-likes" template.

If you've overloaded this template for content / news, you'll need to add the call to this template to take advantage of this new feature.

In addition, a few minor modifications have been made to CSS to adjust the margins between title / date / likes / content. A <div class="content-richtext"> has been added around the rich text content.
Check that these modifications have not resulted in any graphical regressions.

Ticket JIRA: https: //issues.ametys.org/browse/SKINSEARCH-325 

Here's the rendering for the core charter.

 

 

To activate "likes" on article or news content, check the "Activate Like" box in the content modification form.

Back to top