sylvainjule/kirby-pagetable

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

trych opened this issue · 1 comments

trych commented

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

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.