Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Nested if tags to employ a custom field as selector attribute
Bloke wrote #310002:
Over the ages I have considered adding a way to get the raw value from the article image field, but since the
<txp:custom_field>
hack works there’s been no pressing need.
Maybe not the need for a new tag, but certainly documentation of the useful hack. Did I miss it somewhere?
I will comment my code to remain aware, but I’ll check… Both the image_info
and custom_field
tag docs could use a similar highlight about the hack. Up at top of the pages where it’s more likely to be seen.
Offline
Re: Nested if tags to employ a custom field as selector attribute
Destry wrote #310004:
documentation of the useful hack. Did I miss it somewhere?
Nope. Undocumented feature (some say, bug: I say feature). We could mention it on the article_image tag page I suppose.
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