Problem/Motivation
The module uses the global $base_url to determine whether to show the pop-up:
global $base_url;
$domains_list = str_replace(["\r\n", "\r"], "\n", $config->get('domains_list'));
$domains_list = explode("\n", $domains_list);
$domains_list = preg_replace('{/$}', '', $domains_list);
$domain_match = in_array($base_url, $domains_list);
However, $base_url can also include subfolders if that's where Drupal is installed. For example on my local dev, Drupal is at:
> http://localhost:8888/waltham-current/web
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Comments
Comment #2
danrodComment #3
danrodI'd like to look on this one.
Comment #4
danrodHello, I had a look on this and I'm not sure what needs to be fixed here, I tested this on a site installed in a subfolder (https://subsite.ddev.site/maresmuseum/e) and worked fine to me:
This is the contents of the "Domains List" field:
I'm setting this issue as "Needs Review" for now, but I am not sure what is the problem, it is working fine out of the box for me.
Comment #5
danrodComment #6
atowl commentedHi @joachim,
Think we need more information, and possibly a good reproduction to see whats going on here.
Comment #7
atowl commentedWith no further information, i'm closing this.
Please feel free to reopen if its still an issue
Comment #8
atowl commented