Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-03-10 18:05:17

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,379
Website GitHub Mastodon

pgonly="0"

On a 4.3.0 install, go to the Tag Builder on the Pages Tab and click Articles (Single or List), then click Build Tag in the resulting window and you get:

<txp:article pgonly="0" />

which is not what I would think most people expect and as stated here,

uli wrote:

0 is default, anyway

I always immediately delete it and I am wondering how often it is useful and whether it should appear by default.

Offline

#2 2011-03-10 22:52:08

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: pgonly="0"

It’s a nice way for us to detect how advanced users are: if people post their code here and they have pgonly="0" in it, you can tell immediately that they used the tag builder, and therefore are probably beginners ;)

But I agree that attributes with default values shouldn’t be added by the tag builder. It’s not helpful.

Offline

Board footer

Powered by FluxBB