The method does not work

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
Locked
User avatar
Dr.ON
Forum Members
Forum Members
Posts: 14
Joined: Thu Jul 30, 2009 6:13 pm

The method does not work

Post by Dr.ON »

The method does not work. Tips and Tricks - #5 Deduces nothing. Version 1.6.3
my

Code: Select all

            <div id="news">
              <h2>{if $lang =="ru_RU"}Новости{/if}
                      {if $lang =="en_US"}News{/if}
              </h2>
{news category='News-$lang' number='3' detailpage='news'}
            </div>
category News-ru_RU and News-en_US
alby

Re: The method does not work

Post by alby »

Dr.ON wrote: The method does not work. Tips and Tricks - #5 Deduces nothing. Version 1.6.3
my

Code: Select all

            <div id="news">
              <h2>{if $lang =="ru_RU"}Новости{/if}
                      {if $lang =="en_US"}News{/if}
              </h2>
{news category='News-$lang' number='3' detailpage='news'}
            </div>
category News-ru_RU and News-en_US
From post:
In template call news module:
{news category="Home-$lang" .....other params....}
::)
{news category="News-$lang" number='3' detailpage='news'}
Alby
User avatar
Dr.ON
Forum Members
Forum Members
Posts: 14
Joined: Thu Jul 30, 2009 6:13 pm

Re: The method does not work

Post by Dr.ON »

{news category="News-$lang" number='3' detailpage='news'}
Thanks!!!
alby

Re: The method does not work

Post by alby »

Not blocking the topic but put SOLVED in title of first post .....

However:
Dr.ON wrote:

Code: Select all

              <h2>{if $lang =="ru_RU"}Новости{/if}
                      {if $lang =="en_US"}News{/if}
              </h2>
use TranslationManager for that ....
and GlobalContentBlock are already multilang ...
"footer", создал доп. блоки контента

Code: Select all

{if $lang =="ru_RU"}{global_content name='footer_ru'}{/if}
{if $lang =="en_US"}{global_content name='footer_en'}{/if}
use: {global_content name='footer'} only

Alby
Locked

Return to “[locked] CMSMS MLE fork”