1

I have created different pages as entries. On each page I show a list of benefits of my company which are generally the same for each page but I would like to be able to customize the benefits for certain pages.

I thought that it would be a good idea to use a matrix-type field for which I created an entry type with this layout: enter image description here

When I create a new entry for a page, I can only create a new entry for the matrix-type field instead of selecting an existing entry: enter image description here

I am ending up with repetitive entries for the benefits: enter image description here

Am I doing something wrong or is there another solution I have to use?

P.S. I am using Craft CMS 5.x

1 Answer 1

1

I think I found the solution. As I understand the matrix field shares the structure but not the content among different entries. So the content in a matrix field is always connected to an entry.

What I used now is a field with the field type "Entries". This allows me to add to an entry from the section "page" multiple entries from the section "benefits". Thereby, I was able to share entries on different pages.

Configuration of the field "benefits" enter image description here

Adding "benefits" entries to a "page" entry enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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