is it possible to find a specific parent page with a specific template from variable depth?
something like:
$parent = $page->parent('dashboard.php');
is it possible to find a specific parent page with a specific template from variable depth?
something like:
$parent = $page->parent('dashboard.php');
Untested:
$parent = $page->parents()->findBy("intendedTemplate", "dashboard");
indeed - it works! thank you!!!