[SOLVED] news module category="category"

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
giapippo
Forum Members
Forum Members
Posts: 176
Joined: Tue Feb 28, 2012 1:24 pm

[SOLVED] news module category="category"

Post 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
Last edited by giapippo on Sun Jun 21, 2015 8:51 am, edited 1 time in total.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: news module category="category"

Post 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}
Post Reply

Return to “Modules/Add-Ons”