Page 1 of 1
The method does not work
Posted: Sat Aug 15, 2009 2:08 pm
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
Re: The method does not work
Posted: Sat Aug 15, 2009 2:20 pm
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
Re: The method does not work
Posted: Sat Aug 15, 2009 2:42 pm
by Dr.ON
{news category="News-$lang" number='3' detailpage='news'}
Thanks!!!
Re: The method does not work
Posted: Sat Aug 15, 2009 2:53 pm
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