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

Internal links in "Translated for each site group" default link location #282

Open
WHITE-developer opened this issue Aug 27, 2024 · 0 comments
Labels

Comments

@WHITE-developer
Copy link

Description

Not sure if it's a bug or just a flaw in the editing flow.

We have a setup where several sites use the "Translated for each site group" option. By default, when you insert a link to an entry, it uses the site selected from the entries modal (which is default the site you are editing).
Because of that now the link, for example /uk/contact is the same in all sites instead of, for example /au/contact for the Australian one.
I found that you can edit the link to use "Link to current site", but that's multiple clicks and scrolling away (58 sites in the dropdown).

Can we improve this flow? Some possible options:

  1. Default select "Link to current site" when in the entry modal (probably not possible as it isn't a site)
  2. Default to the edit mode in combination with "Link to current site" at the top of the dropdown
  3. Detect if the site you are editing is the same as you selected in the entry modal and then set it to "Link to current site"

Additional info

  • Craft version: 5.3.6
  • Plugins & versions: CKEditor 4.2.0, ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant