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

    Its all gone very quiet...

    Any news on the next release with draft or has it been dropped?

    Julian
      • 5948
      • 32 Posts
      I would also like to know what is happening with this, sadly I have bit of a tight deadline and could really do with knowing if there is some sort of working version of it with the drafts, it doesnt need to be perfect as I can at least use it on my clients site and let them know its in beta.

      I was going to go through the plugin and have a go at the drafts but sadly my German is not my strong point.
        • 1611
        • 591 Posts
        Hello, this plugin seems to be wery useful, but after trying to install it I’ve got some errors.
        1. In zip file from extras there is no sub-folder "content-history" in folder assets/plugins/. So your files was saved in common plugin folder. Please fix it. Huh, I haven’t seen the message on download page. But, anyway, it should be fixed.
        2. After doing all steps in install.en.txt I’ve got folowing error on the documentediting page:
        « Execution of a query to the database failed - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 »
              SQL: SELECT * FROM `modx0963`.`modx_site_content_history` WHERE `id`='6' ORDER BY `editedon` DESC LIMIT 0, 
        

        I tested: this table is in DB.
        What sould I do next?
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          If the `id` field is defined as an integer, it might be choking on the data being defined as a string by the single-quotes ’6’
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 1611
            • 591 Posts
            Yep! Id field is int(10).
            And I see `LIMIT 0,` on the end of query. It’s also look invalid.
              • 28436
              • 242 Posts
              Hello Anredy,

              And I see `LIMIT 0,`
              thats it.
              This is depending on the config switch "view_limit" you find it at the plugin -> configuration - Tab. Acutally it should be 10 by default. What is yours?

              ciao, Stefan



                • 1611
                • 591 Posts
                Hmmmmmmm....

                Stefan, I appreciate your time, but it was my error.
                I don’t know why, but first time I install plugin it didn’t show my button "set defaults" so it was trying to work without parameters, so with corresponding result undecided
                Thanks for support, it seems the plugin start to work.

                I’ll give a feedback a bit later.
                  • 28436
                  • 242 Posts
                  puhh... eased smiley

                  and the current status

                  * comments in english
                  * drafts working well
                  * translations from database
                  * rights to publish depend on a role
                  * sourcefile-encoding transform to iso by config
                  * full preview of a version or draft

                  todo:

                  * html-interfaces to managed drafts and Versions
                  * there is still a problem with my other plugin(uix... see above.. damnit ... have to drop it)

                  please folk, stay patiently, thanks

                  ciao, Stefan
                    • 1611
                    • 591 Posts
                    I’m making a Russian translation to your great module and I found a one bug. If document has no versions yet message "Noch keine Einträge vorhanden" is showing in panel (when edit).
                    I haven’t found it in sample langfile, so can’t translate.
                    What does this phrase means? How could I add it to langfile?

                    Do you need finished Russian langfile? (Actually two: for Windows-1251 codepage and for UTF-8 because we use both)

                    P.S.
                    I didn’t understand yet, is TV also versioned? Chunks? Snippets?
                      • 28436
                      • 242 Posts
                      Hello Andrey

                      If document has no versions yet message "Noch keine Einträge vorhanden" is showing in panel (when edit). [...] What does this phrase means?

                      It means "has no versions yet" smiley

                      How could I add it to langfile?
                      Noch keine Einträge vorhanden == your translation for "has no versions yet"


                      Do you need finished Russian langfile? (Actually two: for Windows-1251 codepage and for UTF-8 because we use both)

                      Yes! Thanks a lot! send them to [email protected]

                      I didn’t understand yet, is TV also versioned? Chunks? Snippets?

                      No, only a content-page with all its TVs are stored as a Version. I keep the most of chunks and snippets as files in the file-system an handle them with a svn repository (if necessary) so i dont need such a function

                      adios, Stefan