Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2010-07-20 09:15:22

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Re: <txp:article limit="none" />?

Bloke wrote:

999999999? Yuck. Even if we make it a constant in constants.php it still smells of pork products to me. There has to be a better way.

Hmm, it does seem strangely crap that there’s no proper “all the way to the end” option in MySQL. But then again, if the 18446744073709551615 method is officially sanctioned in the Manual who are we to criticise?

Offline

#14 2010-08-19 11:03:33

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Re: <txp:article limit="none" />?

Got tripped up by the limit again today!

How about this suggestion – have a site-wide admin setting for the limit, default to 10, but settable to any number. This would mean that we could “set & forget & not get bitten in the bum”. And it could be overridden by a limit="0" option in the article tags.

Offline

#15 2011-12-06 04:25:53

maruchan
Member
From: Ukiah, California
Registered: 2010-06-12
Posts: 595
Website

Re: <txp:article limit="none" />?

Troubleshot a problem caused by this issue for 30 minutes today. :-/ I set it to limit=“9999” and it was fixed, but I hope something can be done about this on the TXP side.

Offline

Board footer

Powered by FluxBB