Release Notes / Version 10.2101
Table Of ContentsChanged Freemarker macro optionalLink in brick-utils
The Freemarker macro
optionalLink
in
@coremedia/brick-utils
has a boolean parameter "openInNewTab", which adds the attributes
target="_blank"
and
rel="noopener"
. For security reasons in Internet Explorer 11 the
rel
attribute includes the additional value "
noreferrer
".
(CMS-16121)
Deprecation: CssClassFor and BlueprintFreemarkerFacade functions
The class
CssClassFor
and the followings methods of
BlueprintFreemarkerFacade
have been deprecated.
cssClassFor
cssClassForFirstLast
cssClassForOddEven
cssClassAppendNavigationActive
The methods are slated for removal. Please use Freemarker built-ins as replacement.
(CMS-15873)
Image Link Building
The Blueprint Freemarker Facade API in
image.ftl
provides a new function
transformedImageUrl()
to build a link for a transformed image with a particular size and aspect ratio.
Usage:
<#-- @ftlvariable name="self" type="com.coremedia.blueprint.common.contentbeans.CMPicture" --> <#assign ratio="landscape_ratio16x9"/> <img src="${bp.transformedImageUrl(self, ratio, 208, 117)}"/>
(CMS-14385)
Added custom navigation to sfra-theme
Use the newly added custom navigation for the sfra-theme to control what you want to see in the navigation menu, e.g. products, categories or articles.
(CMS-13901)