Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-04-06 20:46:55

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

New tag: if_article_id

With the ability to have mutiple id’s like id=“1,2,3,4”

Offline

#2 2006-07-04 16:21:09

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: New tag: if_article_id

Added in r1408.

Offline

#3 2006-07-04 16:29:21

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: New tag: if_article_id

When is the next TxP release?

Offline

#4 2006-07-04 18:16:57

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: New tag: if_article_id

Hopefully really soon. There are a couple bug fixes that need to go in that aren’t finished yet.

Offline

#5 2006-07-06 03:06:23

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: New tag: if_article_id

Hi.
the next one is a question made by my curiosity, not as a request and neither as a reclamation.

All the TxP tags that evaluate article variables (sorry if i’m not using the correct words) like “if_article_id” and “if_article_section”, etc… ¿couldn’t all be “managed” by a simple tag?

I mean, using attributes:

something like <txp:if_article id="21">, or <txp: if_article section="news">, etc.

But the truth is that I cannot see any advantage in my all-mighty if_article but just the possibility of combining many attributes. (txp:if_article section="news" category="sports").

In the other side, I can see advantages in the actual separated tags (if_article_id, if_article_section, etc) and it’s about the possibility of nesting them.
With the “all-mighty” if_article and the actual parser, you couldn’t nest many if_article tags.

Just a thought, dropped here for the sake of thinking and for the sake if someone comes in the year 2019 and ask “why not an all-mighty if_article tag?”

BTW: if_article_id <- grossooooooo!


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#6 2006-07-06 05:16:18

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: New tag: if_article_id

With the “all-mighty” if_article and the actual parser, you couldn’t nest many if_article tags.

That is indeed part of it. The other part is: it really complicates the logic in the tag far more than justified for most uses.

Offline

Board footer

Powered by FluxBB