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

    I’ve recently fiddled around with the connectors and it’s time for me to move up to my real point, the component. Now, I’ve read all pages of the CMPs, SVN and of course the manual. Alright, now that I’ve got that out of the way, here it the real question:

    How do I create a component (which is basically a collection of chunks, snippets, plugins and such; ergo: elements). Now, in Joomla and all other CMSes I’ve ever worked with, a component could be summoned like so:

    http://www.mydomain.com/mycomponent

    In the case of sef actions, it would be something like this to route to a switch’ case:

    http://www.mydomain.com/mycomponent/post/create.html

    Stripping away parts we don’t need, the system knows it has to execute the "mycomponent" component, point it to "location" "post" and call the "action" "create".
    How does this work in Revoltion? I’ve got a working connector inplace under /core/components/mycmp/ but that’s now accesable from the frontend. I basically need to take over all of MODx but keep it’s functions to build a whole new website around it, using the resources and templates, input and output filters and template variables. Is this how MODx can operate or am I simply asking too much. I want/need to use MODx as a development platform for custom applications (like a account management system) and so forth.
      @MarkGHErnst

      Developer at Adwise Internetmarketing, the Netherlands.
      • 24865
      • 289 Posts
      Really? Still no one? I would’ve expected this to be quite easy, MODx being as versatile as it is... Perhaps using it as a platform or something?
        @MarkGHErnst

        Developer at Adwise Internetmarketing, the Netherlands.
        • 28215
        • 4,149 Posts
        Auto-generated CRUD is not supported in Revo (as auto-generated crud apps never usually really work as expected, which is another topic.)

        That said, if you want the FURL approach to crud, use Snippets.
          shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
          • 24865
          • 289 Posts
          Yes, I figured as much, that’s why I started out from another angle, which proved to be quite buggy as far as I can tell:

          http://modxcms.com/forums/index.php/topic,53080.0.html
            @MarkGHErnst

            Developer at Adwise Internetmarketing, the Netherlands.