on 2018 Jun 21 4:55 PM
In cmscockpit there are some properties that are displayed as reference selectors, e.g. "Page Template". Is it possible to customize the look after you select a reference?
So for example here you see "Startseite - Vorlage - CC-S" - that's the " - ". I would like to append the last modified date of the Page Template and get something like "Startseite - Vorlage - CC-S [14.03.2018 00:00]".

Request clarification before answering.
you have to change base_PageTemplate.xml and provide a proper label provider.
Ther are to ways to do it: directly within xml:
<label>
<property qualifier="CMSItem.name"/>
<property qualifier="CMSItem.catalogVersion.mnemonic"/>
</label>
provide a java label provider (have a look at de.hybris.platform.cockpit.services.label.impl.ProductModelLabelProvider as reference):
<label spring-bean="productLabelProvider"/>
For your need i guess providing a custom label provider is the way to go.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 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.