# Can a part iterate over other parts?

**URL:** <https://www.ruby-forum.com/t/can-a-part-iterate-over-other-parts/73915>\
**Category:** Radiant CMS\
**Created:** [October 27, 2006, 10:58pm UTC](https://www.ruby-forum.com/t/can-a-part-iterate-over-other-parts/73915 "2006-10-27T22:58:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![keltia](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/da6949/32.png) [@keltia](https://www.ruby-forum.com/u/keltia)\
**Post date:** [October 27, 2006, 10:58pm UTC](https://www.ruby-forum.com/t/can-a-part-iterate-over-other-parts/73915/1 "2006-10-27T22:58:36Z")

</div>

I’d like to have pages/parts structured like this:

A page with a “body” part which iterate over sub-pages. Each sub-page  
contains several parts, one called “main” and others. I’d like to  
know how to iterate over the other parts. Is that possible? Am I  
clear enough?
