Hi there, I jsut finished converting my template for a member site. This software seems to be just perfect, great work!
I am ready to make the member login work, but I can not seem to find the snippet ’weblogin’ or any info on how to get it to work. Could somone point me in the right direction please?
Does this weblogin only work with people how signed up in this system? cause my members are from a different processor..
thanks!
-
MODX Staff
- 2,502 Posts
Weblogin is part of the 0.9.6 distro and is located in the Snippets tab. I have never used it but the few docs are within the top part of the snippet along with example calls. Here is the documentation from the snippet:
[tt]# Usage:
# Allows a web user to login to the website
#
# Params:
# &loginhomeid - (Optional)
# redirects the user to first authorized page in the list.
# If no id was specified then the login home page id or
# the current document id will be used
#
# &logouthomeid - (Optional)
# document id to load when user logs out
#
# &pwdreqid - (Optional)
# document id to load after the user has submited
# a request for a new password
#
# &pwdactid - (Optional)
# document id to load when the after the user has activated
# their new password
#
# &logintext - (Optional)
# Text to be displayed inside login button (for built-in form)
#
# &logouttext - (Optional)
# Text to be displayed inside logout link (for built-in form)
#
# &tpl - (Optional)
# Chunk name or document id to as a template
#
# Note: Templats design:
# section 1: login template
# section 2: logout template
# section 3: password reminder template
#
# See weblogin.tpl for more information
#
# Examples:
#
# [[WebLogin? &loginhomeid=`8` &logouthomeid=`1`]]
#
# [[WebLogin? &loginhomeid=`8,18,7,5` &tpl=`Login`]] [/tt]
Hope that helps.
Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup
magician.
Blog ✦
Twitter ✦
LinkedIn ✦
GitHub
oh, right! didn’t see that for some reason.. yes! that helps a lot, thanks!