Our client noticed that some Articles Anywhere code appears on their website, where formerly the code produced a label text.
It is a custom field of the Article type.
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 'Confidential information' button in the forum editor to hide sensitive information.
It is a single article (id: 368) containing Articles Anywhere code to produce a view with several articles, containing labels and values of custom fields.
What I see is that only this last label does not populate on the page. Other label-code you see in the article, populate the label just fine.
Only issue is with: [suriname-gerelateerde-begraafplaats label="only"] (on this particular page; on other, similar, pages, a label on that exact spot also does not show. Example:
sharedcemeteries.net/nl/japan/prefectuur-nagasaki
)
Note that the issue also remains when switching language.
The custom field is assigned to a specific category. The articles output on that page are not in that category. So the custom field is not available for those articles.
I recommend you surround that tag with an {if} tag.
I think the current settings would be correct. This all worked fine before. The label stopped populating just shortly.
The custom field suriname-gerelateerde-begraafplaats is filtered to a couple of categories, amongst them is District Paramaribo [nl-NL].
The articles that are fetched on the example page
sharedcemeteries.net/nl/suriname/district-paramaribo
are all in that categorie.
I'm trying to find out what caused these labels to stop showing.
In the end, I decided to replace the code with a word like 'Articles'. This word represents the value of the label. Ultimately this saves time, as I still couldn't figure out why this stopped working while we didn't change any (!) setting prior to the point this issue arose.
I have revisited (after Andy convinced me this was not working how it should).
Data tags of custom fields that are not assigned to the articles category, should output empty.