On March 26, 2019 we launched new MODX Forums. Please join us at the new MODX Community Forums.
Subscribe: RSS
  • Hi,

    I’m quit disturbed by the new modxcms website, as I cant find documentation as ez as before.

    Anyway, I looking at Websignup for the first time...and ...I just cant fond anything significant about this snippet usage (basicaly the tpl it needs)

    nothing on the wiki neither. huh

    any link ?

    Thank you

      Schtroumpf Grognon - Grouchy Smurf
      ---------------------------------
      Faites pas attention.. - Don't pay attention
      http://www.dzi-neo.net
    • Have a look at the WebLoginPE Snippet... its documentation is much better:
      http://modxcms.com/extras.html?view=package/view&package=495

      Although currently, I’m experiencing problems making it work... but at least I got it to work partially, which is more than I could say for the original WebLogin Snippet.
      • The Weblogin snippet has basic usage examples in the top of the snippet code, and the default template is found in the assets/snippets/weblogin/websignup.inc.php, the last section of the file.

        You can edit that file (make a backup copy just in case), or better take that default form as an example and create either a chunk or a document with your customized form and pass that value to the snippet to use.
        &tpl=`CustomSFChunk`
        &tpl=`25`

        If you want to add the new user to a specific group, pass that to the snippet like so:
        &groups=`groupname`
        Use a comma seperated list of the group names if adding to multiple groups:
        &groups=`groupname,groupname2`

        basic no frills: [[WebSignup]] (uses the default template and adds to no groups)
        chunk ex: [[WebSignup? &tpl=`CustomSFChunk` &groups=`NewsReaders,WebUsers`]] (CustomSFChunk would be your chunk name)
        doc ex: [[WebSignup? &tpl=`25` &groups=`NewsReaders`]] (25 would be the document id, note that only the document content is used)

        Hope this helps smiley
          xforum
          http://frsbuilders.net (under construction) forum for evolution
        • Well,
          thanks a lot guys.

          I didnt notice the websignup.inc.phpyet ..sorry.

          I’ll have a look to WebloginPE that seems to be more powerful
            Schtroumpf Grognon - Grouchy Smurf
            ---------------------------------
            Faites pas attention.. - Don't pay attention
            http://www.dzi-neo.net