Is it possible to display/insert the login form in any way on the webpage? My customer wants to let their customers to have an own page that they can update. Feels more user friendly to display the login in the template rather than giving them an url..
Are those customers defined as members or users? If the latter, you could use buit-in umbraco features for redirecting to canvas mode after logging in. If the first, you could just drop a asp.net login control onto the template for members to log in. you might want to need some custom dev to redirect members to their own page on succesful login.
But if I define a start node in the content section for the user, then that is sufficient, right? I wal also thinking of just let them use canvas mode.
- do you have at least one (1) member type in the admin backend?
- did you set the the alias for that member type on the membership provider in the web.config (not really required if you only have a single member group, but still best practice)
if using users then using asp.net login controls doesn't make sense (this is only for membership stuff). if you wish users to update their own pages, you should consider setting their start page in umbraco admin backend, or if you want them to be able to edit from frontend, use option to 'redirect to canvas mode' (altho only <umbraco:Item></umbraco:Item> can be edited with canvas)
Yes, so far that is exactly what I want, but the difference si that I want the user to be able to login from the webpage, not have to use an url like : www.mydomain/umbraco
But if I can let members create pages, edit content and insert images then that is better. Is that possible?
What I want to achieve is that I have a part of the webpage that is closed for normal users but a group of people should be allowed to log in.
On person is going to be an umbraco user that can login to normal backend but is redirected to canvas mode and should be able to edit and create pages.
Then I use the membership to let the other people of the group to login on the webpage and be redirected to their private site.
The only problem I have left is that when the user logs in to the backend and gets redirected to the page he gets bounced to my login-page since he is not a member! How can I get the user to be able to edit the protected page in canvas mode??
Sorry, I am confused. So, you only want people who have logged in as Users to be able to see the member login form? Who are the 'other' people that you refer to? Also, what is the 'private site'?
Om det ar enklare att forklara pa Svenska sa kan du gora det istalle :)
I think its best for the rest to keep it in english :)
I have one part of the site that is protected and needs log in. Certain members can log in and see the information. Now I have created a user that has rights to edit this part and want him to do this in canvas mode. The only problem is that when he log in and gets redirected to canvas mode he gets redirected to my login page for members since he is not logged in.
I see what you're saying. Unfortunately in this case, you're talking about two separte membership providers that don't share state (session). You could probably dig into the core and combine the two, but that would sever the ability to manage members separately. Can you restrict the 'user'' (admin) to only see this page in the content tree? It sounds like you're trying to accomplish something like that, where you don't want the user to see other certain sections.
Yes, I am Swedish. Been in the US now for almost 10 years. I come from Gavle originally.
Display admin login on webpage?
Is it possible to display/insert the login form in any way on the webpage?
My customer wants to let their customers to have an own page that they can update. Feels more user friendly to display the login in the template rather than giving them an url..
froad,
Are those customers defined as members or users? If the latter, you could use buit-in umbraco features for redirecting to canvas mode after logging in. If the first, you could just drop a asp.net login control onto the template for members to log in. you might want to need some custom dev to redirect members to their own page on succesful login.
Hope this helps.
Regards,
/Dirk
Perfect!
But if I define a start node in the content section for the user, then that is sufficient, right? I wal also thinking of just let them use canvas mode.
I want the user to be able to update text and insert images. What kind of user type is appropriate?
I've created he login control but cant login
Do I have to do some codebehind to connect to the Umbraco API?
Nope, you don't need codebehind, but:
- do you have at least one (1) member type in the admin backend?
- did you set the the alias for that member type on the membership provider in the web.config (not really required if you only have a single member group, but still best practice)
Btw, in this case, you'll be using members, right?
Cheers,
/Dirk
Sorry, didnt answer your first question: no, I want to it to be users. Isnt that easier if i want them to be able to edit their page?
froad,
if using users then using asp.net login controls doesn't make sense (this is only for membership stuff). if you wish users to update their own pages, you should consider setting their start page in umbraco admin backend, or if you want them to be able to edit from frontend, use option to 'redirect to canvas mode' (altho only <umbraco:Item></umbraco:Item> can be edited with canvas)
Does that clarify things for you?
Cheers,
/Dirk
Yes, so far that is exactly what I want, but the difference si that I want the user to be able to login from the webpage, not have to use an url like : www.mydomain/umbraco
But if I can let members create pages, edit content and insert images then that is better. Is that possible?
I have a new solution for my problem.
What I want to achieve is that I have a part of the webpage that is closed for normal users but a group of people should be allowed to log in.
On person is going to be an umbraco user that can login to normal backend but is redirected to canvas mode and should be able to edit and create pages.
Then I use the membership to let the other people of the group to login on the webpage and be redirected to their private site.
The only problem I have left is that when the user logs in to the backend and gets redirected to the page he gets bounced to my login-page since he is not a member! How can I get the user to be able to edit the protected page in canvas mode??
Sorry, I am confused. So, you only want people who have logged in as Users to be able to see the member login form? Who are the 'other' people that you refer to? Also, what is the 'private site'?
Om det ar enklare att forklara pa Svenska sa kan du gora det istalle :)
Cheers,
Nik
I think its best for the rest to keep it in english :)
I have one part of the site that is protected and needs log in. Certain members can log in and see the information. Now I have created a user that has rights to edit this part and want him to do this in canvas mode. The only problem is that when he log in and gets redirected to canvas mode he gets redirected to my login page for members since he is not logged in.
I hope Im a bit clearer this time :)
So, Nik, youre swedish?
I see what you're saying. Unfortunately in this case, you're talking about two separte membership providers that don't share state (session). You could probably dig into the core and combine the two, but that would sever the ability to manage members separately. Can you restrict the 'user'' (admin) to only see this page in the content tree? It sounds like you're trying to accomplish something like that, where you don't want the user to see other certain sections.
Yes, I am Swedish. Been in the US now for almost 10 years. I come from Gavle originally.
Thanks,
Nik
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.