We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40092
    • 265 Posts
    I'm going to(am already) convert an Evolution website to Revolution. Not because it really needs to, but i want to learn Revolution and hey, something new and shiny makes me feel good. ;-)

    Can someone tell me what the best practice would be for doing what the titale already says, converting a custom module in Evolution to a Custom Manager Page in Revolution?

    I could just connect the way it used to, with a few minor fixes here and there, i could also (my preference) do thing the Revo way and convert my queries and make the look and feel like it is a revo extent, or i could start from scratch(REALLY DON'T want that, but if there's no other way).

    The module is a custom module where i can manage trips, services for my booking engine and see price requests people make on that site.

    What would be a proper approach for this, and does somebody have more info on styling the CMP to look just like the rest in Revolution?

    Thanks in advance.

    Robin

    This question has been answered by sottwell. See the first response.

    [ed. note: thapriest86 last edited this post 13 years, 7 months ago.]
    • discuss.answer
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Creating a CMP in Revo is not all that different than building a module in Evo, with some extra stuff like namespaces and getting it into the Manager's menu, but doing a "real" Revo CMP is a real pain in the neck. ExtJS and Smarty are used in the Revo back-end. MIGXdb makes things a lot easier.
      http://rtfm.modx.com/display/ADDON/MIGXdb.Create+doodles+manager+with+help+of+MIGXdb

      I presume your module is accessing some custom DB tables; you can generate the necessary schema file by reverse-engineering your existing tables.
      http://rtfm.modx.com/display/revolution20/Reverse+Engineer+xPDO+Classes+from+Existing+Database+Table

      You don't have to use ext and smarty; you can load any js library you want to use, or just use HTML.
      http://rtfm.modx.com/display/revolution20/Custom+Manager+Pages

        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
        • 40092
        • 265 Posts
        Okay, i just toyed with MIGXdb for half an hour. PURE AWESOMENESS!
        I will now go and reverse engineer my existing tables and get them running in there.

        Thanks so much for this golden tip.
          • 4172
          • 5,888 Posts
          Okay, i just toyed with MIGXdb for half an hour. PURE AWESOMENESS!

          There should be more awesomeness on it as you can see in half an hour.
          If you have any questions, feel free to post them here:
          https://forums.modx.com/board?board=271
            -------------------------------

            you can buy me a beer, if you like MIGX

            http://webcmsolutions.de/migx.html

            Thanks!
            • 40092
            • 265 Posts
            Quote from: Bruno17 at Mar 01, 2013, 09:22 AM
            Okay, i just toyed with MIGXdb for half an hour. PURE AWESOMENESS!

            There should be more awesomeness on it as you can see in half an hour.
            If you have any questions, feel free to post them here:
            https://forums.modx.com/board?board=271

            There is, i already have ported all my tables and module into MIGX. And they work like a charm, even the filtering is out of the box pretty darn good. I will sure run into something one of these days, i'll know where to look now.
            Thanks a million.
              • 40092
              • 265 Posts
              Ok, a NOOB question maybe, but i can't seem to find where i can set this question to Answered. ?
                • 28042 ☆ A M B ☆
                • 24,524 Posts
                When viewing the thread, there should be a star in the upper right corner of each post. Just click the one that you want to be the answer.
                  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
                  • 40092
                  • 265 Posts
                  Quote from: sottwell at Mar 02, 2013, 01:07 AM
                  When viewing the thread, there should be a star in the upper right corner of each post. Just click the one that you want to be the answer.

                  I don't have a star here, not in Chrome, IE nor on a different computer.
                  Should i file this somewhere?

                  Screenshot:
                    • 28042 ☆ A M B ☆
                    • 24,524 Posts
                    Hm. I am usually the one answering questions, not asking them wink But at some point there is a star in the corner of each post as you mouse over them.

                    Are you sure you have it flagged as a question? If it is (and you can do so by clicking "Modify" on any post, scrolling to the top of the page and selecting Discussion or Question), your first post will have a message about marking the answer, and each post will have a grey star in the upper right as you mouse over them. Clicking the star on a post will tag that one as the answer.
                      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
                      • 40092
                      • 265 Posts
                      Quote from: sottwell at Mar 02, 2013, 06:04 AM
                      Hm. I am usually the one answering questions, not asking them wink But at some point there is a star in the corner of each post as you mouse over them.

                      Are you sure you have it flagged as a question? If it is (and you can do so by clicking "Modify" on any post, scrolling to the top of the page and selecting Discussion or Question), your first post will have a message about marking the answer, and each post will have a grey star in the upper right as you mouse over them. Clicking the star on a post will tag that one as the answer.

                      80 posts and never knew there was a difference. wink
                      Flagged as question and marked your first reply as the answer.

                      We learn everyday:-)