Page 1 of 1
advanced content and modules
Posted: Mon Oct 27, 2014 8:27 am
by max_rip
I'm use advanced content
{content block='content_en' assign='content_en' label='conetnt EN' default="<!-- -->"}
i'm not use {content}, only {content block=
If add in content_en module {news} work only list news, but go in news item - not work, display list items.
Re: advanced content and modules
Posted: Mon Oct 27, 2014 12:54 pm
by JohnnyB
If you are attempting to modify the default {content} block, I think you will only need the following.
{content assign='content_en' label='content EN' default="<!-- -->"}
You use block="" parameter for new blocks.
Re: advanced content and modules
Posted: Wed Oct 29, 2014 12:53 am
by Jeff
max_rip wrote:I'm use advanced content
{content block='content_en' assign='content_en' label='conetnt EN' default="<!-- -->"}
i'm not use {content}, only {content block=
If add in content_en module {news} work only list news, but go in news item - not work, display list items.
When you use a module it wants to know where to put the content in the page, if you set it to display 'inline' (syntax depends on the module) it will replace the module call. Otherwise it will replace the default content block, since you don't have one in your template the news item doesn't know where to go.
Jeff