Sourcerer

Trying to use Articles anywhere with Sourcerer

3 months 3 weeks ago #91136

Andrius Balsevičius's Avatar Andrius Balsevičius

Hello.

I try to output this line with Sourcerer:

echo '<div class="wf-column">{article title="Šv. Monika"}[image-intro class="kat-img-str-dalis"][link][title][/link]{/article}</div>';

But it outputs only the title as "Šv. Monika".

If I place
{article title="Šv. Monika"}[image-intro class="kat-img-str-dalis"][link][title][/link]{/article}
outside of {source} tags, it works as expected.

Any hint what I'm doing wrong?
(Later I want to use variable instead of article title, actually, but I think that it should work with direct reference anyway).

3 months 3 weeks ago #91137

Peter van Westen's Avatar Peter van Westen Admin

Make sure the Sourcerer system plugin is ordered BEFORE Articles Anywhere.
See: www.regularlabs.com/guides/242-plugin-order-is-important

3 months 3 weeks ago #91138

Andrius Balsevičius's Avatar Andrius Balsevičius

I think they're ordered in correct way.
Sourcerer priority is -2, and AA is 5.

www.dropbox.com/s/07smesmxsmcnyot/Pav_117.png?dl=0

3 months 3 weeks ago #91139

Peter van Westen's Avatar Peter van Westen Admin

Can you give me (super) admin and (s)ftp access so I can take a look?
And tell me on what url I can see/reproduce the issue.
You can use the 'Hidden text' button in the forum editor to hide the confidential information.

3 months 3 weeks ago #91140

Andrius Balsevičius's Avatar Andrius Balsevičius

Confidential information:
(hidden)

3 months 3 weeks ago #91141

Peter van Westen's Avatar Peter van Westen Admin

Ok, so you are also using Snippets in the mix?

So you Snippets is outputting Sourcerer code that needs to generate Articles Anywhere code?
In that case, the plugin ordering of those 3 should be in that order.