Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-03-06 00:43:28

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

If NOT ...

This has been on my “Nice to have, but won’t change the world” list for a while.

I always think:

<txp:if_something>
<txp:else/>
<!-- not something -->
</txp:if_something >

is a bit clunky. A negate attribute on all the <txp:if... tags would be prettier:

< txp:if_something not="1">
<!-- not something -->
</txp:if_something >

Offline

#2 2009-03-06 05:52:39

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: If NOT ...

gomedia wrote:

A negate attribute on all the <txp:if... tags would be prettier:

Beauty is in the eye of the beholder, and my eyes obviously work different than yours ;-)

Offline

#3 2009-03-06 05:56:53

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

Re: If NOT ...

Very funny … I take that as a not=“1” then!

Offline

Board footer

Powered by FluxBB