Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [howto] Textpattern: Context in depth
maniqui wrote:
After reading that issue, please, also refer at this thread: if_article_list inside article_custom always evaluates true, where I discuss with Els (our Queen of Tags) the issue I reported in comment #2.
I’ve only had time to glance at it, but I tend to think of this as reasonably consistent behavior. The conditional tags that check for global context are similarly named: if_category
, if_section
, if_author
. The equivalent for articles would be if_article
or if_id
.
Over the years, the concept of “context” has not always been handled consistently so we do have a range of behaviors to deal with. Yes, now that I’ve gone into the subject so thoroughly I’d like to see more consistency :)
Code is topiary
Offline
Re: [howto] Textpattern: Context in depth
jsoo wrote:
I’d like to see more consistency :)
Me too. If only I’d done this depth of study before I embarked upon the image context! Well maybe TXP 5 is the ticket to do it more consistently…
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: [howto] Textpattern: Context in depth
Offline