core icon indicating copy to clipboard operation
core copied to clipboard

Rework Relationship Field/Tab for Multilingual Content

Open jtesser opened this issue 14 years ago • 3 comments

The basic idea is here http://screencast.com/t/fs6IjYfvO

A few points to realize.

  1. When clicking the language flag green or orange it needs to go to editing that content and if grey then create the content in that language. In this case make it use the same logic that asks to pre-populate in the default language as we currently do.
  2. We need to make sure this works in both the field AND the relationship tab which exists if you do not use the relationship field.
  3. Make sure the html can overflow if you add too many languages. In this case make another row

jtesser avatar Sep 05 '12 14:09 jtesser

Updated the code to fix the relating different language contents issue.

Working on the issue of reordering children content.

Below test cases are working right :

  1. Relationship Tab and Field.
  2. One to Many.
  3. Many to Many.
  4. Multiple Relations.
  5. Self Relation.
  6. Relating Multiple contentlets with Multiple languages.
  7. Clicking on the language flags is editing the appropriate language content.

samuelmortha avatar Sep 12 '12 22:09 samuelmortha

Saw an issue here: https://github.com/dotCMS/dotCMS/issues/1138

Kudos to Sam though, most of this is working really well on self-join and joining two structures. He did a lot of really good work for a first draft of this change.

I will retest everything again when the new issue comes thru.

DeanGonzalez avatar Sep 14 '12 14:09 DeanGonzalez

added to test scripts

DeanGonzalez avatar Sep 14 '12 18:09 DeanGonzalez