Page 1 of 1

[SOLVED] news module category="category"

Posted: Sat Jun 06, 2015 8:48 am
by giapippo
hello to all
I have 6 categories news but in a page I want to display only 3
if you use this string I get an error
why?

Code: Select all

{news category="video , foto , tips" number="20"}
thanks for the help

Re: news module category="category"

Posted: Sat Jun 06, 2015 10:06 am
by velden
giapippo wrote:hello to all
I have 6 categories news but in a page I want to display only 3
if you use this string I get an error
How nice would it be to post the error message.
giapippo wrote: why?

Code: Select all

{news category="video , foto , tips" number="20"}
thanks for the help
Try without the spaces around the commas. And actually it doesn't make sense to put quotes around the value for number. Though it works.

Code: Select all

{news category="video,foto,tips" number=20}