We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27626
    • 4 Posts
    is it possible to create 2 members areas in the site? so there are some pages that only one group of users can access and a different group can access their own pages but neither can access each others?

    another quick question is I’m looking for a form builder would that be the eform module?
    plus i need a gallery what is the best one to use?

    I’m new to modx but so far i really like it smiley
      • 6726
      • 7,075 Posts
      Yes you can create 2 member areas for your site, that’s precisely what web users groups and document groups are for : you create 2 users groups and at least 2 documents groups, and speficify which web users group can access which document groups. For this, you have to set Use access permissions to Yes in Tools > Configuration > User in the manager. Then, when you create a document, you can assign it to a document group.

      And yes, eForm is a powerful and flexible form builder.

      The more comprehensive and powerful gallery tool is MaxiGallery.

      Hope that answers your questions !
        .: COO - Commerce Guys - Community Driven Innovation :.


        MODx est l'outil id
        • 27626
        • 4 Posts
        yes that answers everything smiley cant wait to get going on it !
          • 27626
          • 4 Posts
          hmm one thing with the eform is that just a way of putting in code to make the form? is there a way to "build" the form in an easy way for someone who doesnt know any code ie joe public?
            • 6726
            • 7,075 Posts
            Well, MODx is not Joomla tongue

            I mean whatever you do you’ll have to dig into some "code", usually with MODx it involves learning the tag based templating and (for snippets) learning the parameters.

            eForm is powerful because there is almost - as usual with MODx - no limit to customizing. You can build dynamic forms without touching a line of PHP. But you’ll have to spend some time learning. That’s still faster than learning to code the PHP behind eForm yourself wink And compared to "one click form builders", you really have a clean/accessible code and full control over templating.

            Maybe one day, someone will build a GUI for the eForm snippet (an eForm module ?) but it’s not there yet...
              .: COO - Commerce Guys - Community Driven Innovation :.


              MODx est l'outil id
              • 27626
              • 4 Posts
              as im new to modx im still getting used to how it all works. i think if i can ill try and see if i can work out how eform works and see if ic an create a simple gui. is it easy to create a simple module? even if i could create a gui to choose fields etc then it outputs teh eform code for teh user to copy ad paste that would be better than having them to learn eform tehmselves.

              personally i dont like joomla its just too over complicated.
                • 6726
                • 7,075 Posts
                I quoted Joomla but I could have done the same for any "1 click" CMS... GUI is nice but sometimes it’s limiting.

                I think if you have trouble with eForm then creating a module (in PHP) for MODx might be quite hard, especially considering eForm is one of the most elaborate and powerful snippet... If you know PHP and have a good understanding of its API then why not it would be great !
                  .: COO - Commerce Guys - Community Driven Innovation :.


                  MODx est l'outil id
                  • 7231
                  • 4,205 Posts
                  IMO what could help with easily creating calls for some snippets, and should be much easier to create than a full GUI, would be ’call creating wizards’, like the ones we see around for creating menus or lists. Through a form with some questions (number of fields, which are required, etc.) the wizard could spit out the call and the needed template. This would be great and would not become obsolete when modules get dropped. With the more powerful snippets requiring quite complex and sometimes intimidating calls this would be a great way to help get the most out of MODx.

                  If you look at the calls for WebLogin PE or eForm you can easily get discouraged.
                    [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

                    Something is happening here, but you don't know what it is.
                    Do you, Mr. Jones? - [bob dylan]
                    • 28042 ☆ A M B ☆
                    • 24,524 Posts
                    Quote from: slee at Sep 21, 2007, 04:37 AM

                    as im new to modx im still getting used to how it all works. i think if i can ill try and see if i can work out how eform works and see if ic an create a simple gui. is it easy to create a simple module? even if i could create a gui to choose fields etc then it outputs teh eform code for teh user to copy ad paste that would be better than having them to learn eform tehmselves.
                    I’ve got a three-part tutorial on creating a database management module; the first article might be useful to you.
                    http://sottwell.com/database-module.html
                      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