Hi,
I am looking for your guys help to set up login page. after I click the submit button in my login page, the page doesn't go to the page inside.
the Snippet call I use is:
[[!Login? &loginTpl=`lgnLoginTpl` &logoutTpl=`lgnLogoutTpl` &errTpl=`lgnErrTpl` &loginResourceId=`76` &logoutResourceId=`71`]]
76 is the page I want members to access to. I put this snippet inside document page.
thanks for your help.
ernest
You need to wrap the code in code tags so we can see it.
You need to use the full tag where ever you put it.
what do you mean by full tag?
thx
I meant that you should always use this in the resource content field:
[[!Login? &loginTpl=`lgnLoginTpl` &logoutTpl=`lgnLogoutTpl` &errTpl=`lgnErrTpl` &loginResourceId=`76` &logoutResourceId=`79`]]
Not this:
Hi BobRay,
I try to put this code into my login page. however it still couldn't jump to "index.php?id=76" as I want. The login page is index.php?id=74 and it just stay in the same login page after clicking the submit button. what is the reason proably?
Thanks
Ernest
Does the login form appear?
Is the user successfully logged in after submitting it?
Is resource 76 published?
Do you have any permissions set that would deny the user access to that resource?
Hi BobRay,
1. yes the login form appear
2. not sure about this part. coz after clicking submit button it just stay in the same page.
3. if I type the full path of resource 76 it will be published.
4. for 76 I set it for member only. that's why user have to log in first.
thx
ernest