Closed tristantbg closed 5 years ago
Let me know if the last commit fixes this! It should.
Thank you! Works perfectly now.
(I tried to do page($uri)
but didn't know you needed to add kirby()
before in plugins)
The issue was also with the uri formatting, the panel is now sending a pages/projects+moving-images+the-last-souvenir
string, while it must be projects/moving-images/the-last-souvenir
to be used as the page()
method argument.
(I didn't even try it without kirby()
actually, just tried also and indeed it's needed. The shortcut is probably wrapping $kirby->page()
, while $kirby
isn't defined in plugins).
Problem with fetching the page in api.php