# Modules + Sortable Module list issue

**URL:** <https://forum.getkirby.com/t/modules-sortable-module-list-issue/9455>\
**Category:** Questions\
**Tags:** v2\
**Created:** [January 13, 2018, 9:03pm UTC](https://forum.getkirby.com/t/modules-sortable-module-list-issue/9455 "2018-01-13T21:03:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimbobrjames](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/jimbobrjames/32/5802_2.png) [@jimbobrjames](https://forum.getkirby.com/u/jimbobrjames)\
**Post date:** [January 13, 2018, 9:03pm UTC](https://forum.getkirby.com/t/modules-sortable-module-list-issue/9455/1 "2018-01-13T21:03:49Z")

</div>

I have been playing around with the modules plugin in combination with the sortable field. It’s working, however when i click the add button on the sortable field, I get to choose from all available templates, not just the the modules. How do i restrict it to just the modules? Is this possible? Have I missed something? I’ve set it up to use a modules subfolder to store the modules, as recommended in the modules plugin docs.

Here is my home blueprint:

```auto
title: Home
pages:
  template: home
  build:
    - title: _modules
      uid: modules
      template: modules
files:
  fields:
    imagefilemeta: imagefilemeta
fields:
  seo: metadata
  created: creation
  pagedata: articlecontent

```

And heres my modules blueprint:

```auto
title: Modules
hide: true
pages:
  template:
  - module.videolocal
  - module.videovimeo
  - module.videoyoutube

```

and the sortable field is inside a field group:

```auto
type: group
fields:
  articlecontent:
    label: Page Content
    type: tabs
  articleimage:
    label: Article Image
    type: image
    text: Article Image
  pageintro:
    label: Summary
    help: The page summary, used as teasers
    type: simplemde
  pagetext:
    label: Content
    type: simplemde
    help: The pages content
  modules:
    label: Modules
    type: modules

    add: true
    copy: true
    paste: true
    limit: false
    variant: modules

    actions:
      - edit
      - duplicate
      - delete
      - toggle

    options:
      preview: true
      limit: false
      edit: true
      duplicate: true
      delete: true
      toggle: true

```

Have i missed something?

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [January 13, 2018, 9:38pm UTC](https://forum.getkirby.com/t/modules-sortable-module-list-issue/9455/2 "2018-01-13T21:38:32Z")

</div>

You have to indent the templates, otherwise it doesn’t work.

```auto
 title: Modules
hide: true
pages:
  template:
    - module.videolocal
    - module.videovimeo
    - module.videoyoutube

```

---

<div class="post-metadata">

**Author:** ![jimbobrjames](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/jimbobrjames/32/5802_2.png) [@jimbobrjames](https://forum.getkirby.com/u/jimbobrjames)\
**Post date:** [January 14, 2018, 10:42am UTC](https://forum.getkirby.com/t/modules-sortable-module-list-issue/9455/3 "2018-01-14T10:42:18Z")

</div>

Ah. well spotted. Solved.

---

<div class="post-metadata">

**Author:** ![distantnative](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/distantnative/32/11319_2.png) [@distantnative](https://forum.getkirby.com/u/distantnative)\
**Post date:** [February 6, 2025, 5:30pm UTC](https://forum.getkirby.com/t/modules-sortable-module-list-issue/9455/4 "2025-02-06T17:30:15Z")

</div>


