advanced content and modules

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
max_rip
New Member
New Member
Posts: 9
Joined: Tue Oct 05, 2010 9:00 am

advanced content and modules

Post 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.
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm

Re: advanced content and modules

Post 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.
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm

Re: advanced content and modules

Post 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
Post Reply

Return to “The Lounge”