We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 824
    • 44 Posts
    @elastic: Cheers for that, commented that line then updated line 13 in /inc/events/ondocformprerender.inc.php and converted the short php tag to a full one (<?php not <?) and all is working.

    Just a question though does anyone know if the release with draft support has been uploaded yet?



    Cheers

    Al
    • As far as I know the draft version is still in development...

      I don’t think this project is under active development which is a shame as it’s a great project. It would be nice if it could be setup on google code or some thing so others could help develop it.
        Patrick | Server Wrangler
        About Me: Website | TweetsMODX Hosting
        • 8643
        • 271 Posts
        Can anybody translate this into English(or Russian)?
        It’s from plugin config.
            <h6>rel_path</h6>
            <p>Path to the plugin.  </p>
            <span>MODX_BASE_PATH.[rel_path]</span>
        
            <h6>url_rel</h6>
            <p>Relativer URL ins Plugins-Verzeichnis</p>
            <span>Standardmäßig ../assets/plugins/content_history/</span>
        
            <h6>record</h6>
            <p>Globaler Standardwert für den Schalter "Aufnahme".</p>
            <span>default: true</span>
        
            <h6>view_limit</h6>
            <p>Globaler Standardwert für das Limit der angezeigten Einträge. Kann mit den Sitzungseinstellungen überschrieben werden</p>
            <span>default: 10</span>
        
            <h6>storage_limit</h6>
            <p>Globales Limit Anzahl der gespeicherten Einträge.</p>
            <span>default: 100 <strong>nicht aktiv, macht das Sinn?</strong></span>
        
            <h6>prevent_duplicates</h6>
            <p>Wenn Dokumente gespeichert wurde ohne Unterschiede aufzuweisen, wird der Eintrag verworfen und nicht als neue Version gespeichert</p>
            <span>default: true <strong>nicht aktiv, doppelte werden allerdings markiert</strong></span>
        
            <h6>create_diff_container</h6>
            <p>Soll das Anzeigefeld mit dem Unterschieden(diff) angezeigt werden?</p>
            <span>default: true <strong></strong></span>
        
            <h6>diff_fields_filter</h6>
            <p>Felder die in der Darstellung der Unterschiede(diff) nicht berücksichtigt werden sollen.</p>
            <span>csv:editedon,cachable  <br>Standardmäßig false <strong>nicht aktiv</strong></span>
        
            <h6>show_rev_details</h6>
            <p>Zu jedem Eintrag das Feld mit den Details anzeigen</p>
            <span>Standardmäßig true <strong>nicht aktiv</strong></span>
        
            <h6>skin</h6>
            <p>Namensraum für die Ausgabe</p>
            <span><strong>nicht aktiv</strong></span>
        
            <h6>prevent_caching</h6>
            <p>Wenn aktiviert, werden alle über http geladenen Dateien nicht gecached | file.ext?[random_number]</p>
            <span>default: false</span>
        
            <h6>debug</h6>
            <p>mehr Logmeldungen erzeugen</p>
            <span><strong>nicht aktiv</strong></span>
          • 824
          • 44 Posts
          I cannot translate it verbatim but might be able to do a rough translation based upon my fiddlings.


          EDIT: Quick run over, not sure on everything but i do know a bit about it. My German is poor but what i worked out was based on ripping the code to shreds.

          Any Good?

           <h6>rel_path</h6>
              <p>Path to the plugin.  </p>
              <span>MODX_BASE_PATH.[rel_path]</span>
          
              <h6>url_rel</h6>
              <p>Relitive URL To the Content History Directory from the Manager directory</p>
              <span>Standardmäßig ../assets/plugins/content_history/</span>
          
              <h6>record</h6>
              <p>Globaler Standardwert für den Schalter "Aufnahme".</p>
              <span>default: true</span>
          
              <h6>view_limit</h6>
              <p>Number of history items to show</p>
              <span>default: 10</span>
          
              <h6>storage_limit</h6>
              <p>Total number of historical pages to store</p>
              <span>default: 100 <strong>Not Active, macht das Sinn?</strong></span>
          
              <h6>prevent_duplicates</h6>
              <p>Prevent duplicate saves (document being saved is identical to the previous history item)</p>
              <span>default: true <strong>Not Active, doppelte werden allerdings markiert</strong></span>
          
              <h6>create_diff_container</h6>
              <p>Display the differences in a new panel</p>
              <span>default: true <strong></strong></span>
          
              <h6>diff_fields_filter</h6>
              <p>Fields not shown on the differences panel</p>
              <span>csv:editedon,cachable  <br>Default: false <strong>Not Active</strong></span>
          
              <h6>show_rev_details</h6>
              <p>Show details for each revision</p>
              <span>Defailt: true <strong>Not Active</strong></span>
          
              <h6>skin</h6>
              <p>Namensraum für die Ausgabe? Unsure on translation but i presume it is what skin to use for the editor and panels</p>
              <span><strong>Not Active</strong></span>
          
              <h6>prevent_caching</h6>
              <p>If enabled all the files downloed by http are not cached  otherwise cached in the following format: file.ext?[random_number]</p>
              <span>default: false</span>
          
              <h6>debug</h6>
              <p>Enable Debug mode</p>
              <span><strong>Not Active</strong></span>


            • 26931
            • 2,314 Posts
            okay, haven’t realized there has been another post in the meantime - confused me when i compared my version with the original (which wasn’t the original but the new post smiley )
                <h6>rel_path</h6>
                <p>Path to the plugin.  </p>
                <span>MODX_BASE_PATH.[rel_path]</span>
            
                <h6>url_rel</h6>
                <p>Relative URL to the plugin-directory</p>
                <span>default ../assets/plugins/content_history/</span>
            
                <h6>record</h6>
                <p>Global default value for the switch "record".</p>
                <span>default: true</span>
            
                <h6>view_limit</h6>
                <p>Global default value for the limit of displayed records. Can be overwritten with the session settings</p>
                <span>default: 10</span>
            
                <h6>storage_limit</h6>
                <p>Global limit of stored records.</p>
                <span>default: 100 <strong>not active, does this make sense?</strong></span>
            
                <h6>prevent_duplicates</h6>
                <p>Records for documents that are saved without being any different from the original will be discarted, and not saved as a new version</p>
                <span>default: true <strong>not active, duplicates will be marked though</strong></span>
            
                <h6>create_diff_container</h6>
                <p>Should the indicator field with the distinguishing features(diff) be displayed?</p>
                <span>default: true <strong></strong></span>
            
                <h6>diff_fields_filter</h6>
                <p>Fields that shouldn't be taken into consideration for the display of the distinguishing features(diff).</p>
                <span>csv:editedon,cachable  <br>default false <strong>not active</strong></span>
            
                <h6>show_rev_details</h6>
                <p>Display the details field for every record</p>
                <span>default true <strong>not active</strong></span>
            
                <h6>skin</h6>
                <p>Namespace for the output</p>
                <span><strong>not active</strong></span>
            
                <h6>prevent_caching</h6>
                <p>If active, all files loaded through http will not be cached | file.ext?[random_number]</p>
                <span>default: false</span>
            
                <h6>debug</h6>
                <p>Create more log reports</p>
                <span><strong>not active</strong></span>


            ...maybe someone check eglish grammar, and plugin specific terms "Unterschieden(diff)" -> distinguishing features(diff) because i’m not using the plugin (should be fine though - i guess wink )
              • 824
              • 44 Posts
              Nice One Sharkbait! It reads well smiley
                • 26931
                • 2,314 Posts
                It reads well
                thanks, good to know smiley
                  • 824
                  • 44 Posts
                  Right here is my new contribution, i have just changed the wording of a couple of the translations to make them suitable.
                   
                  
                   <h6>rel_path</h6>
                      <p>Path to the plugin.  </p>
                      <span>MODX_BASE_PATH.[rel_path]</span>
                  
                      <h6>url_rel</h6>
                      <p>Relative URL to the plugin-directory (From Manager Directory)</p>
                      <span>default ../assets/plugins/content_history/</span>
                  
                      <h6>record</h6>
                      <p>Global default value for the switch "record".</p>
                      <span>default: true</span>
                  
                      <h6>view_limit</h6>
                      <p>Global default value for the limit of displayed records. Can be overwritten with the session settings</p>
                      <span>default: 10</span>
                  
                      <h6>storage_limit</h6>
                      <p>Global limit of stored records.</p>
                      <span>default: 100 <strong>not active, does this make sense?</strong></span>
                  
                      <h6>prevent_duplicates</h6>
                      <p>Records for documents that are saved without being any different from the original will be disgarded, and not saved as a new version</p>
                      <span>default: true <strong>not active, duplicates will be marked though</strong></span>
                  
                      <h6>create_diff_container</h6>
                      <p>Should the indicator field with the distinguishing features(diff) be displayed?</p>
                      <span>default: true <strong></strong></span>
                  
                      <h6>diff_fields_filter</h6>
                      <p>Fields that shouldn't be taken into consideration for the display of the distinguishing features(diff).</p>
                      <span>csv:editedon,cachable  <br>default false <strong>not active</strong></span>
                  
                      <h6>show_rev_details</h6>
                      <p>Display the details field for every record</p>
                      <span>default true <strong>not active</strong></span>
                  
                      <h6>skin</h6>
                      <p>Namespace for the output</p>
                      <span><strong>not active</strong></span>
                  
                      <h6>prevent_caching</h6>
                      <p>If active, all files loaded through http will not be cached | file.ext?[random_number]</p>
                      <span>default: false</span>
                  
                      <h6>debug</h6>
                      <p>Create more log reports</p>
                      <span><strong>not active</strong></span>
                    • 32337
                    • 28 Posts
                    Does this not work with Evo?
                      • 824
                      • 44 Posts
                      @Whitless: Yes this does work with evolution, i am currently running it with 1.0.2 with no problems. There is a change you have to make to get it to work correctly, which is noted in Elastic’s Post above:

                      comment out the line 76 in skin/default/plugin_formrender.tpl.phtml

                      //$E('div.sectionHeader').setText('<?php echo $ch->txt('Content History'); ?> v<?php echo $ch->params['version']; ?>');