Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#37 2018-12-06 13:07:43

etc
Developer
Registered: 2010-11-11
Posts: 5,028
Website GitHub

Re: article_custom from both categories (AND)

Actually, if your db collation is case insensitive (UTF8_GENERAL_CI or such), this should work:

<txp:article_custom Model='<txp:variable name="this_section" />%' />

Offline

#38 2018-12-06 13:27:10

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,243
Website GitHub

Re: article_custom from both categories (AND)

etc wrote #315509:

Actually, if your db collation is case insensitive

Ha! Swear I tried that. But yes that’s perfectly acceptable and way more performant. Thank you again.


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

Board footer

Powered by FluxBB