Two site with different theme

Help for integrating the Laravel package
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!
User avatar
AmzoooJibal
Posts: 35
Joined: 12 Mar 2021, 20:09

Two site with different theme

Post by AmzoooJibal » 28 Apr 2021, 17:19

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:
  • Is the home page loaded only for admin (default) site ?
  • How i can get the site ID from laravel service providers or in view ? i have tried :

Code: Select all

Request::get( 'site', 'default' )
But allways return default.

User avatar
AmzoooJibal
Posts: 35
Joined: 12 Mar 2021, 20:09

Re: Two site with different theme

Post by AmzoooJibal » 29 Apr 2021, 09:48

Ok so found response :
  • Is the home page loaded only for admin (default) site ?
Yes
catalog.list
How i can get the site ID from laravel service providers or in view ?

Code: Select all

Route::current()->parameter('site','default')

Post Reply