We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10313
    • 375 Posts
    Hello,

    when I duplicate documents (or document trees), the values of the TVs are not duplicated. This fact is stated in the small popup message before starting the duplication.

    Now, I want to duplicate a complete branch of my website (the german pages) to a new branch: the english pages. As I have stored quite much content in TVs (e.g. for multi-column layout) I’d like to have my english pages filled with the german content for better translating them.

    Is there any possibility (maybe snippet, plugin, module) to duplicate document (trees) with their complete TV values?

    Thanks
    Martin
      • 7231
      • 4,205 Posts
      Simply duplicate the entire container for any language then rename the documents as needed. This will duplicate the entire content including TVs.

      Please back up your data before hand in case you need to backtrack.
        [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

        Something is happening here, but you don't know what it is.
        Do you, Mr. Jones? - [bob dylan]
        • 10313
        • 375 Posts
        Thank you very much. MODx once more does exactly what I need. I don’t know why I didn’t try it. I misunderstood the popup window, and still I don’t know what it wants to tell me wink

        Greetings
        Martin
          • 10313
          • 375 Posts
          Okay, this english message in deed is absolutely clear. But I’m using the german backend, and there the warning is different (look below). It has a second line that reads

          "Hinweis: Externe Daten (e.g. Schlüsselwörter, angepasste Template Variablen, etc.) werden nicht dupliziert" wich means

          "Tip: external data (e.g. keywords, customised template variables, etc.) will not be duplicated".

          And this second line is, what irritated me.

          Greetings
          Martin
            • 17883
            • 1,039 Posts
            Feel free to edit the irritating translation in the wiki wink

            http://wiki.modxcms.com/index.php/De:Sprachdateien_Manager_Includes_Lang

            It´s important that such misunterstanding sentences are corrected at once, a translator not always knows where such a message appears.

            Reason for this translation is that back in 0.92 (I think) TVs wheren´t duplicated.

            Gruß Marc wink