# CMS Nest with CMS SLider

**URL:** <https://forum.finsweet.com/t/cms-nest-with-cms-slider/2154>\
**Category:** General\
**Created:** [November 9, 2023, 5:48pm UTC](https://forum.finsweet.com/t/cms-nest-with-cms-slider/2154 "2023-11-09T17:48:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![joel](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/joel/32/1664_2.png) [@joel](https://forum.finsweet.com/u/joel)\
**Post date:** [November 9, 2023, 5:48pm UTC](https://forum.finsweet.com/t/cms-nest-with-cms-slider/2154/1 "2023-11-09T17:48:02Z")

</div>

Hi there,  
I am building a website where I want to make use of the CMS Nest functionality as well as the CMS Slider Functionality.

The CMS Nest attribute works perfectly until I add the CMS Slider Attribute to my list. Then the list appears in the slider, but no longer has the nested component in it.

Is this a known issue and it just isn’t possible?

---

<div class="post-metadata">

**Author:** ![Support-Luis](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/support-luis/32/53_2.png) [@Support-Luis](https://forum.finsweet.com/u/Support-Luis)\
**Post date:** [November 9, 2023, 6:09pm UTC](https://forum.finsweet.com/t/cms-nest-with-cms-slider/2154/2 "2023-11-09T18:09:54Z")

</div>

hey @joel, these solutions interfere with one another. What you need to do is prevent CMS Slider from running until after CMS Nest is done.

This can be done by adding `defer fs-attributes-preventload='true'` to the CMS Slider script and then initializing with the CMS Nest callback in your `</body>` custom code

```js
<script>
  window.fsAttributes = window.fsAttributes || [];
  window.fsAttributes.push([
    'cmsnest',
    (listInstances) => {
      console.log('cmsnest Successfully loaded!');

      window.fsAttributes.cmsslider.init();
    },
  ]);
</script>

```

---

<div class="post-metadata">

**Author:** ![joel](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/joel/32/1664_2.png) [@joel](https://forum.finsweet.com/u/joel)\
**Post date:** [November 9, 2023, 6:12pm UTC](https://forum.finsweet.com/t/cms-nest-with-cms-slider/2154/3 "2023-11-09T18:12:15Z")

</div>

Thanks a bunch!
