Change part being rendered in Page extension [Clarification]


#1

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/


#2

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

Sean