Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optional "Reference Title" field alongside all Title fields #4118

jsunsawyer opened this Issue Apr 10, 2019 · 2 comments


None yet
2 participants
Copy link

commented Apr 10, 2019

The idea is that content editors often understand a single language. Linking up entries and categories in another language (site), when titles are translated, can be difficult.

The field would have options similar to the current Title field (Show the Title field? option, dynamic settings via twig, etc.)

The Title field would populate most instances of titles in the CP's UI. Anything that a user would find easier if it was in their language. Translated versions of titles still being editable where necessary.

This could also be tied in user accounts, adding an option for users to define which site's title they wish to see in the CP. This would require an optional field for each site. Just like path settings, though there may be a better way to handle that.

I feel like the addition of this, along with translate methods for titles #2064 and some better multi-site slug handling #849, managing multi-sites would feel so much better.


This comment has been minimized.

Copy link

commented Apr 10, 2019

You can pull this off by renaming “Title” to “Reference Title” from your entry type settings, and giving your entries a custom “Title” field with a handle of realTitle.

Your templates could then output:

<h1>{{ entry.realTitle ?? entry.title }}</h1>

This comment has been minimized.

Copy link

commented Apr 10, 2019

@brandonkelly Unfortunately, this would change the title. We want to avoid changing the title so everything that uses titles can do so natively. Fields like LinkIt will use a localized version of a title when an entry or category is selected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.