Create a multingual site. 2 languages are enough.
Create a contact in each language and associate them in their edit page.
Load Multilingual Associations component.
Select Contact as type and one fo the languages.
Click on the greyed icon in the Associations column.
This will load the side by side page.
When using the Associations Tab (or button in 4.0) for the reference and the target items, the field for the other language should display the name of the associated contact.
It does not.
As you can see in the animated gif below, it does flash the name for a second at reload, then disapears as soon as the Target finishes loading.
This works fine for articles, categories and menu items
Labels |
Added:
?
|
Status | New | ⇒ | Discussion |
Category | ⇒ | com_associations |
You are right. changing to #jform_name
solves the issue.
Now, we do have equivalent in ContactAssociationsHelper
case 'contact': $fields['title'] = 'a.name';
therefore, we have to find a way to change the #jform in the side by side js depending on this parameter.
we get the equivalent to title in associations helper with $titleFieldName
OK. I have a patch.Will create PR
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-07-19 09:37:02 |
Closed_By | ⇒ | infograf768 |
joomla-cms/media/com_associations/js/sidebyside-uncompressed.js
Line 263 in 7279924
joomla-cms/media/com_associations/js/sidebyside-uncompressed.js
Line 279 in 7279924
Title field in Contacts and Newsfeeds is called
name
, nottitle
so#jform_title
selector doesn't work here.