The Financial Training Academy Tips: Easily display content

Do something cool with CMS? Show us ...
This board is for 'Answers', and the discussion of answers... Not for questions.
Post Reply
financial academy

The Financial Training Academy Tips: Easily display content

Post by financial academy »

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:

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}
}
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: The Financial Training Academy Tips: Easily display content

Post by Dr.CSS »

Yea ok so you took a quote out of another Tip and posted it here why?...
Post Reply

Return to “Tips and Tricks”