This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Id like to use 2 separate themes using a domain and sub-domain.
Example: www.site.com using the main static theme www.shop.site.com using another shop theme
What's the best method to approach this?
Id like all themes to pass data to one another too. ie. login, variables etc.
Any help would be great, thank you
The best approach here would be to use different environment variables for different subdomains and then set the theme accordingly.
So fo the main domain, in apache or your webserver you can set this environment variable:
For the subdomain, you can set it to something else
Hope this helps
Many thanks, will give this a go
1-3 of 3