public
Description: Radiant is a no-fluff, open source content management system designed for small teams.
Home | Edit | New

Output All Page Parts

When you have a very long pages, split it up into multiple parts for each section. Then in the Body Part, arrange the parts in order using the Radius content tag.

This way your layouts are not cluttered with multiple parts and you can still divide the page into smaller chunks.

This is very useful when writing a page that contains ruby code that has to be highlighted: Create a page part like source_filename that is enclosed in <r:code> tags and in the main article just do <r:content part="source_filename"/>

It also allows you to change the order of the parts if you need to add one part in between two others.

Another option is to put the page parts in child-pages.

Last edited by johnmuhl, Thu Apr 09 23:34:05 -0700 2009
Home | Edit | New
Versions: