Page 1 of 1
get content from subpages using CGSimpleSmarty and MLE settings
Posted: Thu Oct 29, 2009 12:41 pm
by korneliusz
hi
how to get content from subpages using CGSimpleSmarty and MLE ?
i have three language site PL, EN, DE
{foreach from=$cgsimple->get_children('','',$children) item='child'}
{if $child.show_in_menu}
{$cgsimple->get_page_content($child.alias)}
{/if}
{/foreach}
but on all these site it always gets content from EN subpages
Re: get content from subpages using CGSimpleSmarty and MLE settings
Posted: Thu Oct 29, 2009 1:57 pm
by alby
korneliusz wrote:
how to get content from subpages using CGSimpleSmarty and MLE ?
Have you look in
Modules/Addon patchs subforum of CMSMS MLE?
Alby
Re: get content from subpages using CGSimpleSmarty and MLE settings
Posted: Wed Nov 04, 2009 9:59 am
by korneliusz
i dont know what patch i need
Re: get content from subpages using CGSimpleSmarty and MLE settings
Posted: Wed Nov 04, 2009 2:23 pm
by alby
korneliusz wrote:
i dont know what patch i need
humm.... it does not seem so complicated ...
Modules/Addon patchs subforum > CGSimpleSmarty
Alby
Re: get content from subpages using CGSimpleSmarty and MLE settings
Posted: Wed Nov 04, 2009 3:02 pm
by korneliusz
hmmm but i have CGSSimpleSmarty 1.4.3
my question was how to get content from subpages when i have languagemodule ?
as i said this code
{foreach from=$cgsimple->get_children('','',$children) item='child'}
{if $child.show_in_menu}
{$cgsimple->get_page_content($child.alias)}
{/if}
{/foreach}
takes always content from one langage version
no matter if i'm on PL, DE or EN site i always get EN subpages content
i tried put lang="$lang" someware in this function but nothing helps
Re: get content from subpages using CGSimpleSmarty and MLE settings
Posted: Wed Nov 04, 2009 3:08 pm
by alby
korneliusz wrote:
my question was how to get content from subpages when i have languagemodule ?
Have you read the
README FIRST post in Modules/Addon patchs subforum?
Alby