Search
Other Articles Anywhere questions
Forum

Field Groups

Pieter-Jan de Vries's Avatar Pieter-Jan de Vries
Hi Peter,

If seems that display of a fieldgroup by title works, but by id doesn't.

To prevent lots of duplicate field groups and fields in a multi language site, I use language strings for field group names and field labels. Somewhat ugly in the backend, but it works in the frontend, which is the main objective. Unfortunately those language strings don't get converted when displaying them using AA. Can you think of a creative trick to achieve that?

Regards,
Pieter-Jan de Vries
Peter van Westen's Avatar Peter van Westen ADMIN
How are you outputting the field groups? What syntax?

Is your second question specific to Articles Anywhere? Are those strings being converted when outputting through Joomla layout?
Please post a rating at the Joomla! Extensions Directory
Pieter-Jan de Vries's Avatar Pieter-Jan de Vries
Apologies for asking two, only slightly related questions in one and the same post
How are you outputting the field groups? What syntax?
This one works:
{article}[fieldgroup:foo:description]{/article}
This one does not:
{article}[fieldgroup:1:description]{/article}
Is your second question specific to Articles Anywhere? Are those strings being converted when outputting through Joomla layout?

Yes they are for the most part. Language strings in field group titles and field labels are correctly translated when editing articles in the backend. Field labels are also properly converted in the frontend. Field group titles are not included in the article view, so they don't display at all.
Peter van Westen's Avatar Peter van Westen ADMIN
Please try the latest development version from:
regularlabs.com/development-releases
Please post a rating at the Joomla! Extensions Directory
Pieter-Jan de Vries's Avatar Pieter-Jan de Vries
Incredibly swift as always 🙂

The numerical fieldgroup id issue is solved with that dev version.

When displaying all fields in a group, field label language strings are properly converted. Field group title language strings are not. Maybe a Snippet+Sourcerer combo could provide a usable solution. Unless you have a better idea.
Pieter-Jan de Vries's Avatar Pieter-Jan de Vries
O.k. Forget conversion of field group title language strings. It does work. I just did not add those language strings to the site language files.

I am very sorry for taking up your valuable time because of this stupid mistake
Peter van Westen's Avatar Peter van Westen ADMIN
Ok ?
Please post a rating at the Joomla! Extensions Directory
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription