Duplicate in blueprint

Hi,

I would like to have a tabs to easily change order in images, I know how to add a tab but how to deal with limit (main tab : limit to 30, second tab to 200), problem at the bottom of yml :slight_smile:

  tabs:
    pages:
      columns:
      - width: 2/3
        fields:
        #####  more …
      - width: 1/3
        sections:
          images:
            headline: Galerie
            type: files
            layout: cards
            template: image
            info: "{{ file.dimensions }}"
            image:
              ratio: 5/4
              cover: true
            size: tiny
            limit: 30 ## <-- doesnt work
    galerie:
      sections:
        images:
          headline: Galerie
          type: files
          layout: cards
          template: image
          info: "{{ file.dimensions }}"
          image:
            ratio: 5/4
            cover: true
          size: tiny
          limit: 200 ##<-- 200 in tab pages

You cannot have two sections with the same key in a blueprint. Your second section overwrites the first.

Also, the only thing that limit does is set the number of items per pagination β€œpage” in the section.

Yes, I want to increase the limit pagination because drag’n’drop reorder is hard with more than one page :frowning:

But why are you duplicating the sections?

On main tab :
– fields, text and images (by 30)

On second tab :
– same images but all, easy to reorder the first to the end

As already mentioned, you need to give your sections different keys.

1 Like