You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, could you please help me to understand what is the best approach to copy value for one Entry from one site to another site.
For example I have two websites EN and DE
In EN I did add all the field values under SuperTable field and now I want to copy everything to my DE version.
What will be the best approach? Especially for CraftCMS V4.
We tried
// Get the Super Table plugin instance
$superTablePluginInstance = call_user_func(['verbb\supertable\SuperTable', 'getInstance']);
// Get the Super Table plugin service
/** @var \verbb\supertable\services\SuperTableService $superTablePluginService */
$superTablePluginService = $superTablePluginInstance->getService();
// Duplicate the blocks for the field
$superTablePluginService->duplicateBlocks($field, $from, $to);
It is working for CraftCMS V3 but not V4.
Would be awesome if you can elaborate on this!
Issue:
When we duplicate like this on draft and publish draft changes are disappear
Thanks!
Additional context
No response
The text was updated successfully, but these errors were encountered:
Question
Hi, could you please help me to understand what is the best approach to copy value for one Entry from one site to another site.
For example I have two websites EN and DE
In EN I did add all the field values under SuperTable field and now I want to copy everything to my DE version.
What will be the best approach? Especially for CraftCMS V4.
We tried
It is working for CraftCMS V3 but not V4.
Would be awesome if you can elaborate on this!
Issue:
When we duplicate like this on draft and publish draft changes are disappear
Thanks!
Additional context
No response
The text was updated successfully, but these errors were encountered: