Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dan Evans 585 posts 925 karma points
    25 days ago
    Dan Evans
    0

    The default behaviour for this in Umbraco is set to "on/true" - is there a way to turn this off? I know it only creates a pointer but it's confusing to users.

  • Erik-Jan Westendorp 22 posts 193 karma points
    23 days ago
    Erik-Jan Westendorp
    0

    Hi Dan,

    There is no config setting or something to change this default behavior. In Umbraco.Editors.CopyController the "relate to original" option will be set to true by default. If you really want to change it you can do it here.

    angular.module("umbraco").controller("Umbraco.Editors.Content.CopyController",
    function ($scope, userService, eventsService, contentResource, navigationService, appState, treeService, localizationService, notificationsService) {
    
        var searchText = "Search...";
        localizationService.localize("general_search").then(function (value) {
            searchText = value + "...";
        });
    
        $scope.relateToOriginal = true;
        $scope.recursive = true;
        $scope.dialogTreeApi = {};
    
        etc.....
    

    You can find it here:

    https://github.com/umbraco/Umbraco-CMS/blob/v8/dev/src/Umbraco.Web.UI.Client/src/views/content/content.copy.controller.js

Please Sign in or register to post replies

Write your reply to:

Draft