Hi all,
I have a problem with displaying the newest article. If I use articleid="-1" it displays the newest article for both languages. Isnt there a possibility to get it a different way instead of using the articleid-method?
[Solved]MLE and newest News-Article
-
- Forum Members
- Posts: 137
- Joined: Thu Oct 26, 2006 9:20 am
- Location: Dresden - Saxony - Germany
[Solved]MLE and newest News-Article
Last edited by konsument on Thu Dec 10, 2009 4:15 pm, edited 1 time in total.
Re: MLE and newest News-Article
Are you try with number=1 ?konsument wrote: I have a problem with displaying the newest article. If I use articleid="-1" it displays the newest article for both languages. Isnt there a possibility to get it a different way instead of using the articleid-method?
Alby
-
- Forum Members
- Posts: 137
- Joined: Thu Oct 26, 2006 9:20 am
- Location: Dresden - Saxony - Germany
Re: MLE and newest News-Article
Hi Alby,
1 doesnt work.
heres what the module help says:
I need something which displays the newest article of each news category (lang). But I got the feeling this isnt easy to implement.
1 doesnt work.
heres what the module help says:
This works well, but it shows the newest article for both languages. E.g if I puplish an article first in english and afterwards in italian, I get the italian article in english template (which is normal because the newest article is the italian article).Help for the News module wrote: (optional) articleid="" - This parameter is only applicable to the detail view. It allows specifying which news article to display in detail mode. If the special value -1 is used, the system will display the newest, published, non expired article.
I need something which displays the newest article of each news category (lang). But I got the feeling this isnt easy to implement.
-
- Forum Members
- Posts: 137
- Joined: Thu Oct 26, 2006 9:20 am
- Location: Dresden - Saxony - Germany
Re: MLE and newest News-Article
Nice and easy! .Thank you!