medienbaecker / kirby-modules

Plugin for modular Kirby websites
MIT License
73 stars 7 forks source link

create: proberty not working #36

Closed hariom147 closed 2 years ago

hariom147 commented 2 years ago

Just tested this on a fresh starterkit:

Using modules: trueworks fine.

But when using

modules:
  type: modules
  create:
    - text

the create dialog shows only "Text" in the template list (not the actual title in modules/text/text.yml which is "Text Module") and creates a draft with text.txt, which actually shows fields defined in default.yml and not in modules/text/text.yml

What shows

Bildschirmfoto 2022-07-15 um 14 06 43

What should show

Bildschirmfoto 2022-07-15 um 14 07 03

.

medienbaecker commented 2 years ago

I think it should be module.text 🙂

hariom147 commented 2 years ago

Thanks. That works. 🙂 I first looked up your earlier reply.. Where could I have derived prefixing the (module) template name with module.?