Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-03-11 18:28:11

sacripant
Plugin Author
From: Rhône — France
Registered: 2008-06-01
Posts: 479
Website

"id" attribute for "if_individual_article"

Hello,

if_section has name attribute to target a section
if_category has name attribute to target a category
if_author has name attribute to target a author

and
if_individual_article didn’t attribute to target a article.

Why not an id attribute ?

Offline

#2 2011-03-11 18:51:30

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: "id" attribute for "if_individual_article"

There’s “ if_article_id. But I agree the current system is inconsistent. I think this is probably for historical reasons — IIRC, if_individual_article and if_article_list predate the other conditional tags you list.


Code is topiary

Offline

#3 2011-03-11 20:52:43

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: "id" attribute for "if_individual_article"

Curious – is it in the plans to correct these types of consistencies as we move to Txp5?

Offline

#4 2011-03-11 22:34:47

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: "id" attribute for "if_individual_article"

Vote +1. Well, I wasn’t aware of this inconsistency but sacripant has a point. Congratulations :)


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

Board footer

Powered by FluxBB