Sphene Community Tools

Community

Copyright © 2007-2018 by Herbert Poul

You are not logged in.
Login
Register

Change Language:



AddThis Social Bookmark Button

A Django site.

Powered by Sphene Community Tools
Board » General » Feature Discussions » The news macro is having issues with limits

Hey ho,

I'm still alive. ;) Just been swamped at home and work.

I just added the news macro to one of my pages and I wanted it to only show the last two. So I did the limit=2 in the macro tag and it was not honored. The news lists 5 elements no matte what I do.

I'm not up to the current branch on the source. I'll have to update my Django branch and the SCT branches first. That may or may not consume a night. Not sure if anything is going to break. If you have time and it is a quick fix maybe you can get to it. :)
hi,
sorry .. my forum post alerts went straight into the spam box :(

but the news macro works for me:

{news category=1 limit=3}

only shows 3 threads.
Hey, we have Signatures !!! Great, isn't it ? ;)
Well I finally got time to poke and found that the problem was entirely me. I put the limit parameters into the rss feed macros instead of into the news macros.

It is working just fine now.

Please login to post a reply.



Powered by Sphene Community Tools