Add support for language detection per domain

Created on 4 July 2023, 12 months ago
Updated 24 October 2023, 8 months ago

Problem/Motivation

Currently the pagedesigner_link element is rendered with a language prefix in the URI.
When working with multi-domain / multilingual website and language detection part of the URL being the domain, node paths do not have a language prefix, so all links created through PD returns 404.

Steps to reproduce

  • Install drupal with domain, language and pagedesigner modules.
  • Define the language detection part of the URL as the domain
  • Create link to a node inside a pagedesigner element

Proposed resolution

I suggest reworking the get mehtod of the Link Handler to directly use the url generated for the node (see patch).
That way it will display the proper url for the given context.
See patch attached

Remaining tasks

User interface changes

API changes

Data model changes

πŸ’¬ Support request
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡«πŸ‡·France GuillaumePacilly

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024