Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: make an article-related gallery of images with numeric list?
feragnoli wrote:
I get no output and this from debug: … 1=1 AND category IN (‘2’) ORDER BY category asc
Thanks for the detailed output, very helpful. Your logic is sound, the problem is that the plugin is looking at the article_image field, finding the number ‘2’ and then looking for an image category labelled “2”. Since it doesn’t find one, it returns nothing.
If you are using comma-separated lists of IDs in the article_image field then use:
id="?article_image"
instead of category="?article_image"
.
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