London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
As I know, there is no way for the same codebase.
If you really want to limit those - use separate Web projects for each site with their own blocks and pages.
Could you create VirtualRoles that calculate what site you are on, then apply access rights to Blocks based on those virtual roles?
The solution is to use virtual roles, as Mark pointed out. For pages, you might not even have to do that. Just set what page types that are possible to create under the different page types.
CMS - 10.10.3
Commerce - 11.2.4
We have multiple sites and so have multiple Start pages in CMS.
We need to show pages and blocks for respective sites when creating a block or page from CMS.
So please guide me that how we can filter the Blocks and Pages for different sites.