0

I have two sites. Everytime I add global field content (slogan for example) it adds the same to the second site, and vice-versa. Anyone has any idea how to stop that?

  • Field Layouts are attached to elements directly not on sites. So you can not change the field layout based on the site per default, you would have to create a plugin, would that be a solution for you? – Robin Schambach Jun 13 '18 at 12:47
  • What I want to change is the content not the layout. My problem is the inverse of this: docs.craftcms.com/v3/… "you can set the values in those sets on a per site basis, even leaving some fields blank, if desired." That's not happening, it inserts what i wrote into both sites. I even confirmed on the database: site id 1 and site id 2 both have the same global content – Vitor Pinho Jun 13 '18 at 13:14
  • 1
    Are your fields translatable for each site? If not you should change the field setting – Robin Schambach Jun 13 '18 at 13:16
  • Ok, translatable for each site. Now each site has its own content. Sorry, i see translatable i think languages. Thank you. – Vitor Pinho Jun 13 '18 at 13:33
1

In order to change the content for each site individually you need to set the field settings accordingly to "translatable for each site"

Otherwise the content for each site will be the same

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.