Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-09-08 00:45:42

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

Is there a limit to txp:article limit=""

Is there a limit to the integer used in the limit attribute on the txp article tag?

Offline

#2 2011-09-08 06:18:36

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Is there a limit to txp:article limit=""

tye wrote:

Is there a limit to the integer used in the limit attribute on the txp article tag?

Set by Textpattern, no. Only limits are your server’s resource (how many articles it can humanly handle), and the maximum integer size. On 32-bit system integer boundary is generally 2147483647, or the value set with PHP_INT_MAX.

Offline

#3 2011-09-09 03:14:15

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

Re: Is there a limit to txp:article limit=""

Thanks Gocom

So I wonder if you could help a database dummy understand more clearly :)

At the momement there are 60 articles, of which 25 are showing on the site filtered out using the plugin msv_if_custom_article_date (if the date has gone, the article is not shown on the front of the site) – but the number of articles will increase over time.

The owner needs to keep the articles in the back end – would it be better for me to get the site owner to set the filtered articles to ‘hidden’ in the admin area, would this remove them from the list?

Offline

#4 2011-09-09 03:27:36

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

Re: Is there a limit to txp:article limit=""

I believe it does :) I just tested it

Cool :)

Offline

Board footer

Powered by FluxBB