I normally use a menu template to do this kind of thing. Something like this in a Menu Manager template (called "Sub-Section List"):
Code: Select all
{if $count > 1}
{foreach from=$nodelist item=node}
{* Get the picture *}
{$cgsimple->get_page_content($node->alias,'Overview_Picture_(for_list_page)','overview_pic')}
{* Get the overview text *}
{$cgsimple->get_page_content($node->alias,'Overview_Text_(for_list_page)','overview_text')}
{* Show them *}
<div class="picture">{$overview_pic}</div>
<div class="text">{$overview_text}</div>
{/foreach}
{/if}
This goes in the content of the "header" page or the template with the following:
Code: Select all
{menu template='Sub-Section List' start_page=$page_alias}
Then in the template for each sub page create your content blocks (remember that cmsms replaces spaces with underscores in your content block names - see above):
Code: Select all
{content_image block='Overview Picture (for list page)' dir='images/section_header_pics' urlonly='true'}
{content block='Overview Text (for list page)'}
A lot of problems can be solved in cmsms with smarty, there's often no need to bother with UDT's. I actually did this recently for DJ listings as well!