sylvainjule / kirby-pagetable

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

New pages not created in the correct folder #85

Closed rantonse closed 8 months ago

rantonse commented 1 year ago

Hi! It seems like new pages are not created in the folder given by parent:. I reproduced the error by downloading the Starterkit, adding this plugin, and then changing type: pages to type: pagetable in site/blueprints/sections/notes.yml. The parent folder is specified there with parent: kirby.page("notes"), but the new page was created in the root folder.

leuys commented 1 year ago

I think your query for parent: might be incorrect. Try parent: site.find("notes").

leuys commented 1 year ago

It seems that you are correct, I have replicated the error.

Joscha95 commented 1 year ago

I have the same problem. It happened after I updated to 3.8. However If I change the section type to the default type:pages the new page is put in the correct folder...

ebz8 commented 1 year ago

Hi! Same prob as Joscha... :(