on 2023 Jan 29 7:12 PM
I need to add new button to the system bar in backoffice, in this position:
some ideas?
I now how to create the button but I don't now how to attach it to the system bar, I have the idea but I can't override the OOTB configuration:
<widget id="systemBar" widgetDefinitionId="com.hybris.cockpitng.widgets.common.systembar" slotId="headerArea"
template="false">
<widget id="systemBar" widgetDefinitionId="com.hybris.cockpitng.widgets.common.systembar" slotId="headerArea"
template="false">
<widget id="newButtonId"
widgetDefinitionId="com.hybris.backoffice.widgets.newButtonId" slotId="indicators"
template="false">
</widget>
</widget>
</widget>
Request clarification before answering.
Hello,
You have to create a new widget under /backoffice/resources/widgets in one of backoffice extensions and write a ZUL file and related definitions as needed.
Include <toolbarbutton /> in Zul file so it should appear in system bar. and then customize on top.
<toolbarbutton id="changePasswordBtn" popup="changePasswordPopup, position=after_start" image="${wr}/images/icon_systembar_forgetpassword.png"/>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
16 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.