Page 1 of 1
MLE and News Module
Posted: Sun Aug 10, 2008 4:21 am
by philip142au
Hi, I installed and got running the MLE (Multi-Language Extension).
However it looks like the news module is not working under MLE? Is this true?
Does anyone know how I can get news as MLE?
Best regards, Philip
Re: MLE and News Module
Posted: Sun Aug 10, 2008 11:41 am
by alby
philip142au wrote:
However it looks like the news module is not working under MLE? Is this true?
Does anyone know how I can get news as MLE?
Have you read
Howto?
Alby
Re: MLE and News Module
Posted: Sun Aug 10, 2008 12:45 pm
by philip142au
Hi Alby, yes I read (after posting I found the news part) and did that - however, its not working for my news unless I use a English character at the start of the TITLE for the news article.
My site is in English and Chinese traditional.
So for the Chinese, if the title is totally Chinese, its not happening.
You can see the problem at
http://www.orsa-studio.com/client/heifer/
Change the website language on top right to Chinese.
Click on the news article where title starts with "a" character and it works.
For article without any English character, it fails.
Regards, Philip
Re: MLE and News Module
Posted: Sun Aug 10, 2008 1:43 pm
by alby
philip142au wrote:
My site is in English and Chinese traditional.
So for the Chinese, if the title is totally Chinese, its not happening.
You can see the problem at
http://www.orsa-studio.com/client/heifer/
Change the website language on top right to Chinese.
Click on the news article where title starts with "a" character and it works.
For article without any English character, it fails.
Use a extra field
for alias your title
Alby
Re: MLE and News Module
Posted: Fri Jun 18, 2010 2:34 pm
by justin16l
I'm also having a problem with this. {$lang}, if placed in the body of a template, returns the language properly, such as 'en_US'. However, if I put lang inside of the News module, such as {news category="Category Name - $lang" number="1" moretext="more info" detailpage="news"} it just returns 'Array'. Any idea of what I'm doing wrong? I'm on MLE 1.6.7.
Re: MLE and News Module
Posted: Fri Jun 18, 2010 4:17 pm
by justin16l
I just figured this one out. I couldn't use $lang inside of a tag unless it was assigned to another variable for some reason. This only worked when done within the html 'body' (within 'header' failed): {capture assign='langvar'}{$lang}{/capture} , then I could load it into the news module, and it worked: {news category="Cat Name-$langvar" number="1" moretext="more info" detailpage="news"} .
Re: MLE and News Module
Posted: Sun Jun 20, 2010 6:40 pm
by alby
justin16l wrote:
I'm also having a problem with this. {$lang}, if placed in the body of a template, returns the language properly, such as 'en_US'. However, if I put lang inside of the News module, such as {news category="Category Name - $lang" number="1" moretext="more info" detailpage="news"} it just returns 'Array'. Any idea of what I'm doing wrong? I'm on MLE 1.6.7.
I have not this behaviour.
$lang works in template header (e.g. {title} | {sitename} | {$lang}) and in template body with:
{news number="3" detailpage="news" category="General-$lang" lang="$lang"}
(not work but if I rename General in General-en_US work well)
Have you checked in Admin Global settings?
Alby