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
get content from subpages using CGSimpleSmarty and MLE settings
-
- Forum Members
- Posts: 15
- Joined: Wed Oct 28, 2009 10:22 am
Re: get content from subpages using CGSimpleSmarty and MLE settings
Have you look in Modules/Addon patchs subforum of CMSMS MLE?korneliusz wrote: how to get content from subpages using CGSimpleSmarty and MLE ?
Alby
-
- Forum Members
- Posts: 15
- Joined: Wed Oct 28, 2009 10:22 am
Re: get content from subpages using CGSimpleSmarty and MLE settings
i dont know what patch i need
Re: get content from subpages using CGSimpleSmarty and MLE settings
humm.... it does not seem so complicated ...korneliusz wrote: i dont know what patch i need
Modules/Addon patchs subforum > CGSimpleSmarty
Alby
-
- Forum Members
- Posts: 15
- Joined: Wed Oct 28, 2009 10:22 am
Re: get content from subpages using CGSimpleSmarty and MLE settings
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
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
Have you read the README FIRST post in Modules/Addon patchs subforum?korneliusz wrote: my question was how to get content from subpages when i have languagemodule ?
Alby