We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 39927
    • 46 Posts
    Thanks, Bob. I'm going to dig in on that link now.

    Update: I've got all the pages on my 1st MODx site in the MODx folder now and everything is working beautifully.

    A Somewhat Related Question: I have another site that I built a number of years ago and have maintained regularly for my client, since. He emailed me last Friday and asked for a new page to be added to his site that he and his employees could add content to themselves.

    Q: How do I go about using MODx to add an Admin Page (on a non-MODx web site) for my client to be able to edit content on just that one page? Can you point me to a tutorial, please?

    Thanks!

    PS: I sure hope your book arrives soon, Bob! In the meantime, I'm digging in on Mary's tutorials.

    Alan
      Alan
      --------------------------------------------------------
      MODX Revolution 2.2.2-pl
      • 3749
      • 24,544 Posts
      In Revolution, you can customize the Manager to limit what the user can do in the Manager and restrict them to pages in a certain Resource Group using the Security Permissions system.

      If it's just a single page, it would probably be easier to use a front-end editor (e.g. NewsPublisher) and put a button on the page with the NpEditThisButton snippet (available in the NewsPublisher package and only visible to logged-in users if you do it right). The button will forward them to the NewsPublisher page where they can edit and save the page. Or you could create a Login page that forwarded them automatically to the NewsPublisher page on successful login.


      ------------------------------------------------------------------------------------------
      PLEASE, PLEASE specify the version of MODX you are using.
      MODX info for everyone: http://bobsguides.com/modx.html
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 39927
        • 46 Posts
        Thanks, Bob.

        So, if I understand correctly, I would have to install MODx on their server and just implement the NewsPublisher package for that single page only.

        The rest of the site pages would have absolutely no connection to MODx -- that's okay, right?

        Also, should I install MODx in the root ... or in its own folder ... or doesn't it matter?

        PS: Your book is arriving tomorrow! Hot dog!
          Alan
          --------------------------------------------------------
          MODX Revolution 2.2.2-pl
          • 3749
          • 24,544 Posts
          Unfortunately, the user would have to log into MODX before using NewsPublisher, and NewsPublisher would save the page to the MODX DB, where it wouldn't do you much good. Also, installing MODX (which has thousands of files) just to run NewsPublisher would be serious overkill.

          In the long run, I think you'd be happier if you converted the whole site to be a MODX site. Depending on the complexity of the site and how it's written, that might be much easier than trying to make NewsPublisher work on a non-MODX site. There's a section in the book on porting a site to MODX. wink



          As an alternative, you could forget MODX and create your own front-end editing form using a WYSIWYG editor like Aloha or TinyMCE.

          ------------------------------------------------------------------------------------------
          PLEASE, PLEASE specify the version of MODX you are using.
          MODX info for everyone: http://bobsguides.com/modx.html
            Did I help you? Buy me a beer
            Get my Book: MODX:The Official Guide
            MODX info for everyone: http://bobsguides.com/modx.html
            My MODX Extras
            Bob's Guides is now hosted at A2 MODX Hosting
            • 39927
            • 46 Posts
            It's a fairly simple site, Bob ... however, it *would* be a lot of work converting it over to MODX just to make that one page happen.

            You said:
            As an alternative, you could forget MODX and create your own front-end editing form using a WYSIWYG editor like Aloha or TinyMCE.

            That sounds like a great alternative ... however, having never done that before, is there a tutorial that would walk me through the steps? Or a program I might acquire to do that with?
              Alan
              --------------------------------------------------------
              MODX Revolution 2.2.2-pl
              • 3749
              • 24,544 Posts
              There's some documentation at the Aloha and TinyMCE sites on how to use them. I don't know of anything else.

              Porting a site to MODX is not as big a job as you might think, unless the HTML is peppered with PHP code.

              See this for a quick overview: http://bobsguides.com/porting-your-site-to-modx.html



              ------------------------------------------------------------------------------------------
              PLEASE, PLEASE specify the version of MODX you are using.
              MODX info for everyone: http://bobsguides.com/modx.html
                Did I help you? Buy me a beer
                Get my Book: MODX:The Official Guide
                MODX info for everyone: http://bobsguides.com/modx.html
                My MODX Extras
                Bob's Guides is now hosted at A2 MODX Hosting
                • 39927
                • 46 Posts
                Thanks again, Bob. I was looking at the info on the Aloha site and it looks pretty simple! I'll look into it some more, and also the TinyMCE site ... and your link above, as well.

                HEY! I got my copy of MODX: The Official Guide today and I have to tell you I am really impressed!!! You've done a wonderful job, man! I mean, I've only read the first chapter, but I am so pleased to see how clearly you explain everything. No kidding, Bob. Most books like this are not only dry and boring, but also very tiring and difficult to understand. I find myself blazing through, page by page, and understanding exactly what you're delivering. This is great!

                Alan
                  Alan
                  --------------------------------------------------------
                  MODX Revolution 2.2.2-pl
                  • 3749
                  • 24,544 Posts
                  Wow. Thanks so much for the kind words.

                  I'm glad you're finding it useful.

                  If you still like it when you're a little further along, you might mention it in a review on Amazon.com. wink




                  [ed. note: BobRay last edited this post 14 years, 3 months ago.]
                    Did I help you? Buy me a beer
                    Get my Book: MODX:The Official Guide
                    MODX info for everyone: http://bobsguides.com/modx.html
                    My MODX Extras
                    Bob's Guides is now hosted at A2 MODX Hosting
                    • 39927
                    • 46 Posts
                    I will definitely do that, Bob. I've been digging in pretty heavily since I got your book and I'm finding the entire work *very* easy to ingest and understand ... and I believe that is something quite unusual.

                    I'll post here when I do, to let you know.
                      Alan
                      --------------------------------------------------------
                      MODX Revolution 2.2.2-pl
                      • 39927
                      • 46 Posts
                      Hey, Bob.

                      I just published my review on your book. It's being checked out now and should be published soon. I guess you'll get an email when it is?

                      Here's a link to the review on Amazon:
                      http://www.amazon.com/review/R2M874JE1RX282 [ed. note: alanhorvath last edited this post 14 years, 3 months ago.]
                        Alan
                        --------------------------------------------------------
                        MODX Revolution 2.2.2-pl