sylvainjule / kirby-pagetable

Display subpages in a flexible table section. Kirby 3 only.
MIT License
113 stars 11 forks source link

Setting "create: true" throws error on adding a page #79

Closed trych closed 2 years ago

trych commented 2 years ago

Hi there,

I copied a pagetable blueprint setup from one page to another and changed create: false to create: true in the settings. Apparently this causes an error when you start to add a page: Undefined array key ""

When I remove the key altogether it works again.

trych commented 2 years ago

Ooops, sorry, I now realize I was using the create key incorrecty. You have to set it to the allowed templates, not to true. Also, this is a Kirby thing, not a pagetable thing specifically. Apologies.