The Financial Training Academy Tips: Easily display content
Posted: Fri Jul 18, 2008 8:03 am
If you want to display the content of all child pages of the current page:
1. Download and install the CGSimpleSmarty module
2. Put this in your template:
1. Download and install the CGSimpleSmarty module
2. Put this in your template:
Code: Select all
Child page content (experimental)
Child page content (experimental)
{foreach from=$cgsimple->get_children('','',$children) item='child'}
{if $child.show_in_menu}
{$cgsimple->get_page_title($child.alias)}
{$cgsimple->get_page_content($child.alias)}
{/if}
{/foreach}
}