I tried this:
Code: Select all
{news action="detail" articleid="-1" category="General"}
Can this be done?
CMSMS is 1.10. and news is 2.12.2.
Code: Select all
{news action="detail" articleid="-1" category="General"}
Maybe I'm missing something, but do you mean like this:Dr.CSS wrote:Why are you using the articleid="-1" and not the number='1' parameter?...
Code: Select all
{news number="1" category="General"}
Thanks! That can be doneRonnyK wrote:correct.... The articleid=-1, will only work icw action=detail and doesnt take category in account. To use that, make a summary-template similar as the detailtemplate and call that summarytemplate with the number= parameter. That way you get the last entry from a specific category in the look that you want.
Ronny