Passing a page id in page list
Permalink
I am using ajax page tools (which seems to basically be a tweak to the pagelist) and want to say look for pages under this page id or path dynamically when I have a variable set to a page id.
I know you can call a page but wanted to know how i can tell a pagelist look under this page.
Just wondered if anyone can help
$page = Page::getByPath('/path/to/page', $version = 'RECENT');
I know you can call a page but wanted to know how i can tell a pagelist look under this page.
Just wondered if anyone can help