Show part of a childpage with thumbnail
Posted: Wed Mar 25, 2009 9:45 am
I'd like to show on a page a short part of the text of a the childpage. I also want to have the possibility to use a thumnail for the childpages. Can someone help me?
I tired:
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}
It works but I get the whole text. I just want the first part of. And I'd like to have the thumbnail.
I tired:
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}
It works but I get the whole text. I just want the first part of. And I'd like to have the thumbnail.