Two site with different theme
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
- AmzoooJibal
- Posts: 35
- Joined: 12 Mar 2021, 20:09
Two site with different theme
Hello,
i have enabled multisite and i want to customize those tow site (www.site1.com and www.site2.com) for that i have 3 question:
But allways return default.
i have enabled multisite and i want to customize those tow site (www.site1.com and www.site2.com) for that i have 3 question:
- Is the home page loaded only for admin (default) site ?
- Where is the first page loaded when i access to www.site1.com or www.site2.com ?
- How i can get the site ID from laravel service providers or in view ? i have tried :
Code: Select all
Request::get( 'site', 'default' )
- AmzoooJibal
- Posts: 35
- Joined: 12 Mar 2021, 20:09
Re: Two site with different theme
Ok so found response :
- Is the home page loaded only for admin (default) site ?
Yes
- Where is the first page loaded when i access to www.site1.com or www.site2.com ?
How i can get the site ID from laravel service providers or in view ?catalog.list
Code: Select all
Route::current()->parameter('site','default')