# Change part being rendered in Page extension \[Clarification\]

**URL:** <https://www.ruby-forum.com/t/change-part-being-rendered-in-page-extension-clarification/104713>\
**Category:** Radiant CMS\
**Created:** [May 21, 2007, 8:21pm UTC](https://www.ruby-forum.com/t/change-part-being-rendered-in-page-extension-clarification/104713 "2007-05-21T20:21:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![James\_Thompson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b2d939/32.png) [@James\_Thompson](https://www.ruby-forum.com/u/James_Thompson)\
**Post date:** [May 21, 2007, 8:21pm UTC](https://www.ruby-forum.com/t/change-part-being-rendered-in-page-extension-clarification/104713/1 "2007-05-21T20:21:48Z")

</div>

To clarify. When the page is rendered by default the layout uses the  
‘body’ part. I need to tell the page to render a different part based  
on various things handled in the extended Page class. Is there a way  
to adjust what part the layout uses as the default when rendering a  
page?

James Thompson  
IT Director & Web Programmer  
Stewart & Associates, Inc.  
550 West Kentucky Street  
Louisville, KY 40203  
(502) 583.5502  
removed\_email\_address@domain.invalid  
[http://www.stewartaa.com/](http://www.stewartaa.com/)

---

<div class="post-metadata">

**Author:** ![James\_Thompson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b2d939/32.png) [@James\_Thompson](https://www.ruby-forum.com/u/James_Thompson)\
**Post date:** [May 22, 2007, 4:15am UTC](https://www.ruby-forum.com/t/change-part-being-rendered-in-page-extension-clarification/104713/2 "2007-05-22T04:15:48Z")

</div>

You should look at overriding the ‘content’ tag. Check out  
standard\_tags.rb to see what it does.

Sean
