Skip to content

Copy duplicate object on level 2 from parent language to target language #43

@devsekhar

Description

@devsekhar

Hello there,

I am using this module "https://github.com/NobrainerWeb/Silverstripe-Content-Blocks/" for content blocks.

It has functionality to manage content into "single column content block" and "multiple column" content blocks.

When I translate it from parent default language(Dutch) to target language(english). It works great for Single column block(which has no child object). But has issues to copy for multi column content block.

Only the new language blocks at level 1 (Container type 1 and 2) are created well, but the blocks that are nested child in container type 2 are the same blocks as the original language.
i.e. for example, at the homepage, block 1115 (info-mulit column, container type 2) is fine but the 2 blocks one layer down (1118, 1116) are the exact same blocks as in use at the Dutch page.

So when you add English text to these blocks, it also shows up at the Dutch page.

Please suggest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions