Show hostname and path on the settings page

Created on 24 January 2018, over 6 years ago
Updated 25 September 2023, about 1 year ago

I have noticed that on the settings page the domain is recognized only by it's hostname. Some modules such as Country path provide the ability to assign URL path to the hostname and make it unique domain record.
For example :
test.com
test.com/en

These both are separate domain records, but on the module settings page it shows twice only test.com.
It's because of the following line, which checks for hostname, but not for path:
'#title' => $this->t('Upload logo for Domain: @hostname', ['@hostname' => $hostname]),

I made a small patch specifically for people who are using the module in combination with Country path, but I would be happy to see more
elegant and universal solution.

Feature request
Status

Needs work

Version

2.0

Component

Code

Created by

🇧🇬Bulgaria yivanov

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇧🇪Belgium tim-diels Belgium 🇧🇪

    I would like to see a test for this so we know it is broken and fixed by this patch. Any patches including tests I will have a look at and see if we can get this committed. Also setting this for the 2.x branch as this is the default now.

Production build 0.71.5 2024