Articles Anywhere

Filter by dynamic wildcard

4 months 2 weeks ago #89562

Octav A's Avatar Octav A

Hello,
Please advise if is possible to filter by dinamic wildcard, smth like this:

{articles metakey="*[this:metakey]*"}[title]{/articles}
Thanks.

4 months 2 weeks ago #89563

Peter van Westen's Avatar Peter van Westen Admin

No, that isn't possible.

But with the new dev version this is possible:

{article}{articles metakey="*[metakey]*"}[title]
{/articles}{/article}

In this case the [metakey] will be handled by the outer {article} tag (which outputs data of the current article).
So if the metakey of the current article is 'Cats', then the resulting output of that outer {article} tag is:
{articles metakey="*Cats*"}[title]
{/articles}
Which will then be picked up by Articles Anywhere in the following pass.

Please try the latest development version from:
www.regularlabs.com/development-releases

4 months 2 weeks ago #89564

Octav A's Avatar Octav A

At first glance - seems to be working. This is nice.. Keep on developing!