-
-
Notifications
You must be signed in to change notification settings - Fork 227
Description
Hello
We are looking to extend our website further.
We want to start using our mydomain.nl domain name (currently only .be).
mydomain.nl will generally have the same content as mydomain.be, but might be different in some cases.
For this I set up Domain Driven Environment: https://wintercms.com/docs/v1.2/docs/setup/configuration#domain-driven-environment
I want to create a new theme.
Which, if I understand correctly, it automatically inherits everything from the already existing theme, and only overrides the files found in the new theme.
I currently have
/config/Environment.php
'hosts' => [
'localhost' => 'mydomain-nl',
'127.0.0.1' => 'mydomain-nl',
'www.mydomain.nl' => 'mydomain-nl',
],
/config/mydomain-nl
| - cache.php ('prefix' => 'mydomain-nl_cache')
| - cms.php ('activeTheme' => 'mydomain-nl')
| - session.php ('cookie' => 'mydomain-nl_session')
/themes/mydomain-nl
| - assets (empty)
| - content (empty)
| - layouts
| - home.htm (a simplified layout for testing)
| - meta (empty)
| - pages (empty)
| - partials (empty)
| theme.yaml
But going to http://127.0.0.1:8000/nl doesn't seem to do much (-> my simplified home page layout is not shown but the existingtheme home.htm is used instead). I want to test this on 127.0.0.1:8000 first.
In the database I set system_parameters: cms | theme | active | NULL
I did php artisan cache:clear but the theme is not switching based on the url.
Any idea what I am missing?