Enonic version: 6.7.2
OS: Mac and linux
For page I can add a textline input for breadcrumbTitle like this:
<content-type>
<display-name>Page</display-name>
<super-type>base:structured</super-type>
<allow-child-content>true</allow-child-content>
<form>
<input name="breadcrumbTitle" type="TextLine">
<label>Breadcrumb title</label>
<help-text>Leave empty to use displayName</help-text>
<occurrences minimum="0" maximum="1"/>
</input>
</form>
</content-type>
But for site I cannot. It only has description. Which I guess comes from “internal” definition of portal types.
http://xp.readthedocs.io/en/stable/developer/site/content-types/portal-types.html?highlight=site
I can add it to the app site.xml, but that means fetching siteConfig instead of a normal query for the content.
Which means I must handle pages and site differently in my breadcrumbs code.
Thoughts?