Docblock question: Do I need to add use statements for classes referenced by my docblocks? (E.g.
Ahh Sitetree extends DataObject. I think I know how to make the query then
Is there a way to get pages based off there Page type? I only have one blog page on my website and would like to be able to get its data on other pages. So I was thinking of just getting a list of all Blog pages and grabbing the first item.
But I dont know how to query pages by page type
Oh I think I found it
Quick question. How do you get the page that a child page is under?
I bet. I think staying up late is in the job description...shoulda read that fine print 😄
Lol, sorry about that, its 2am here and I'm a bit tired
Oh perfect, thats great
Is there some method that I can call to get the related Page object? Like
getPage() or something?