Hi, I have a page type that allows another page type. similar to StaffHolder and StaffPage in the tute. But when I try using <% loop $Children %> inside the parent page template, it's not returning any of its child pages.
<% if $Children %>
<% loop $Children %>
<div>child</div>
<% end_loop %>
<% else %>
<div>No children found</div>
<% end_if %>
I am expecting 4 child divs displayed as I have 4 child pages belong to this current page. Currently it's just returning "No children found". I am not sure why. Can anyone give me some advice? It's really driving me crazy! (SS3)
Cheers,
Michael