Hello everyone,
im new here and i dont find any solution.
On my blueprint there is a selction of pages (fields - you can add existing ones to selection). What i want from this field is a number in my frontend page.
What i tried: $page->pagesfield()->count(), $page->pagesfield()->num() or $page->pagesfield()->index()->num() and many many more. What i want: 2, 4 , 5, 8, (number of added pages)
All i got is an error or the url of these pages, not a single number
How can i achive this? Thank you, i think the solution is simple but i dont get it