I have the following code to get the child pages of the current one:
{% for subpage in self.get_children %}
...
{% endfor %}
This is used, for example, to show a gallery of images (each children page have an image).
However, this works fine when only I have one type of children, but, when I try to add another child page (for example to show testimonials), the code above doesn't filter for children type ..so it shows all childs.
I want to know if there is another way to make this work or if my approach is wrong (the use of children pages).
Any help would be appreciated :-)