We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28209
    • 1 Posts
    Hello dear community, I’ve tried to search the forum but I don’t work well with google search today it seems. I have a minor problem, the "weblogin" that you can add for webusers is giving me trouble. I would like to edit the code of the HTML in that code but I can’t seem to find it? Where can I find it?


    Clarification: I want to know where I can find the HTML that the weblogin plugin? uses.
    sorry:
    http://www.b-landia.net/temp/
    modx-0.9.6.2 (version)
    Apache/2.0.52 (CentOS)
    Php is unknown but I think it was the latest laugh (dunno if this matters)
      • 4041
      • 788 Posts
      If you are calling the WebLogin snippet with a &tpl, that would be the chunk you modify, ex:
      [[WebLogin? &tpl=`FormLogin`]]
      in this case you are specifying a chunk to use, and would edit the FormLogin chunk.

      If you are calling it simply as:
      [[WebLogin]]
      you would need to modify the code in the assets/snippets/weblogin/weblogin.inc.php file.
      Find this part and modify accordingly:
      # Returns Default WebLogin tpl
      function getWebLogintpl(){
       html code here
      }

        xforum
        http://frsbuilders.net (under construction) forum for evolution