Major
Nice to have
Bugfix
Major
Enhancement
#21803 introduces renderers for external links - including a view for the tool row. However, this view cannot be styled to match the other buttons in the tool row or side bar.
Application
customButtons.xml:
#!xml <?xml version="1.0" encoding="utf-8" ?> <template> <params> <param name="renderer" optional="true" /> <param name="entryRenderer" optional="true" /> <param name="resPrefix" value="layouts.themes.modern.ToolRowView" /> </params> <group> <views> <view class="com.top_logic.layout.component.configuration.ExternalLinkViewConfiguration" name="tlHome" link="https://www.top-logic.com/" image="theme:layouts.demo.tlHome" label-key="${resPrefix}.tlHome" renderer="${entryRenderer}" /> </views> </group> </template>
Code migration
New optional entryRenderer parameter in layouts.
- customButtons.xml
- debugButtons.xml
- defaultButtons.xml
- personalizeButtons.xml
- searchButtons.xml
- helpButton.xml
#!xml <param name="entryRenderer" optional="true" />
This renderer ensures in an ExternalLinkViewConfiguration that the style of the link adapts to the tool-row or side-bar.
Test
- Link to the Top-Logic-Home-Page in tl-demo.