How to mix combined CMS collections

Hi there,

We have a Resources page including multiple combined collections for blogs, webinars, etc.

However, by default, because the blog collection is at the top in the navigator, there are only blogs showing when you land on this page.

Is there a way to order these collections by date, but combine all collections rather than just being blogs first, followed by the next collection, and so on.

The goal is to combine all items and order them by date, so the first item can be a blog, followed by a webinar, then a blog again, and so on…

Thanks

2 Likes

Hi info6,

I’m also looking for this solution. If I find it I’ll post it here.

Hopefully somebody from the community can offer some help.

cheers
Manuel

1 Like

@Support-Luis is this something possible?

hey @info6 @manuel! You can take a look at how this combo is made → CMS Sort + CMS Combine | Attributes

We combined CMS Combine with CMS Sort and added this code to the </body> to click a hidden sort button after the lists are combined

<script>
  window.fsAttributes = window.fsAttributes || [];
  window.fsAttributes.push([
    'cmscombine',
    (listInstances) => {
      console.log('cmscombine Successfully loaded!');
      document.querySelector('.fs_cmssort_button').click();
    },
  ]);
</script>