Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [sites]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
1 answer
40 views

Is it possible to silo Users and their Content absolutely by site?

We have multiple sites defined in Craft and we want content editors to only have visibility of things that are relevant to the one site they've been assigned to. I've set this up using a User Group ...
Karl Bishop's user avatar
1 vote
1 answer
93 views

Default language is accessible without locale in URL

I have a website with 2 languages. Each language is setup as a different site. Each site has its own base URL which is defined as follows: @defaultUrl/en and @defaultUrl/fr. I have created a new ...
Matthias's user avatar
  • 301
1 vote
3 answers
63 views

Simple site switcher

This one has been asked many, many times but lots of the solutions are a bit over the top for me. I have two sites: English and French. URLs are mysite.com and mysite.com/fr. If I'm on mysite.com/news/...
supazu's user avatar
  • 526
2 votes
2 answers
483 views

How to temporarily disable entries of one site version within a site group?

A client asked me to temporarily disabled all of its entries of one of its Site in a specific language. This entries should not be accessible anymore from their URL. The quickest and cleanest way to ...
Romain P.'s user avatar
  • 1,852
1 vote
1 answer
36 views

Identifying users and site permissions when logged in

If I'm logged in as a user in user Group A, how can I tell which site I am currently viewing? I want to be able to create a multilingual site switcher. But my setup is complex. I have Company A, ...
joomkit's user avatar
  • 2,024
1 vote
0 answers
102 views

How to auto disable "Enabled for Site" for certain sites (or groups) when creating a new entry

We have a mutli-country/language website with Craft 3 for many countries/languages. When we create an entry (ecommerce product to be exact) in the English sites we dont want to enable it for other ...
Laurence Cope's user avatar
2 votes
1 answer
68 views

What purpose does the site-selector under assets fulfill?

I'm kind of confused about the site selector under Assets, because from what I can gather it actually doesn't do anything? See this screenshot, top left: I was first under the impression that I would ...
jishi's user avatar
  • 273
2 votes
1 answer
406 views

How can I clone a specific Site in Craft, not the default?

I have many sites in Craft and I group them by language. For example, German has Germany and Austria sites in them. Spanish has Spain, Mexico and Colombia. The sections are set to propagate entries ...
Laurence Cope's user avatar
0 votes
0 answers
62 views

How can I sync slugs within sites in the same Group?

I have a Craft site with approx. 13 Sites. They are grouped by language, e.g. German has Germany and Austria in it. Spanish has Spain and Mexico in it. I imported all content to the main groups ...
Laurence Cope's user avatar
1 vote
1 answer
72 views

FeedMe - all sites get overwritten by other foreign sites import, even though fields are translatable per group

I have about 16 sites added to my Craft CMS install. They are grouped together by language, so for example, I have 6 sites in English, and 4 sites in Spanish, 2 in German, and then some individual ...
Laurence Cope's user avatar
2 votes
1 answer
350 views

How can additional custom fields be added to the Sites settings?

In Craft 3 Sites, there are some default fields like language, handle, etc. I would like to add additional fields. Is this possible. Specifically, I want to add an Image field so we can add a flag ...
Laurence Cope's user avatar
2 votes
1 answer
307 views

Is there a way to auto-create a sections Site Settings and propagate when a new site is created?

My customer will have lots of sections and lots of entries in each, for each site. Over time they will add new language sites. When a new site is added, there are no sections or entries for it. So ...
Laurence Cope's user avatar
1 vote
1 answer
240 views

Same site name in multiple languages

We have a site with multiple languages so I created a site for each language. I named these according to the language so, one is named "French", another "English" etc. Now in the backend this is all ...
dazz's user avatar
  • 195
1 vote
1 answer
343 views

Setting Up Multiple Sites

I've tried following the guide for setting up multiple sites (https://docs.craftcms.com/v3/sites.html#creating-a-site) but I think i'm missing something. Firstly the craft install on your beta site, ...
J.Intheflock's user avatar
1 vote
1 answer
703 views

Get Entries from Every Site

How do I pull in entries from every site? I can't even seem to pass more than one argument to the .siteId parameter: {% set entries = craft.entries({ section: 'resources', siteId: [1,2,3], }...
kmgdev's user avatar
  • 1,179