+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Login widget redirect property

Login widget redirect property

19 posts, 2 answered
  1. palak
    palak avatar
    13 posts
    Registered:
    01 May 2011
    16 Apr 2012
    Link to this post
    Hi,

    I just started exploring sitefinity. I used login widget on one of my page. What i wanted to do exactly to redirect the user automatically on homepage(or some other page) after successful login. 

    I've gone through all the properties of login widget, but i don't see any property which does this. i.e. navigateurl. 

    Can you pls tell me whether there is any property out of the box or i need to go for user control.

    Thanks & regards,
    palak
  2. Andrei
    Andrei avatar
    553 posts
    Registered:
    27 Nov 2008
    16 Apr 2012
    Link to this post
    palak,

    You need to edit the "DestinationPageUrl" property (~/somepage.aspx). Also, make sure the "LoginAction" property is set to "Redirect".
    Hope this helps.
    Andrei
  3. palak
    palak avatar
    13 posts
    Registered:
    01 May 2011
    17 Apr 2012
    Link to this post
    Hi Andrei,

    I am using sitefinity 5. These properties you said is available with login widget(backward compatibility), and i am using Claim-based authentication. so sitefinity doesn't allow me to use it.
    The new login widget has no such kind of properties. What can be the option now ?

    Regards,
    palak
  4. palak
    palak avatar
    13 posts
    Registered:
    01 May 2011
    17 Apr 2012
    Link to this post
    Yes, i can switch back to FBA (form-based authentication). I am going to do that.

    Still, if any option available with CBA(claim-based), do let me know.

    Regards,
    palak
  5. Atanas Valchev
    Atanas Valchev avatar
    414 posts
    Registered:
    04 Jan 2016
    17 Apr 2012
    Link to this post
    Hello guys,

     The redirect functionality for the claims based login widget will be implemented in the upcoming Service Pack, expected in the upcoming weeks.

    All the best,
    Atanas Valchev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
    Answered
  6. palak
    palak avatar
    13 posts
    Registered:
    01 May 2011
    19 Apr 2012
    Link to this post
    That's great !

    Best Regards,
    palak
  7. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    20 Apr 2012
    Link to this post
    Hi Palak,

    We have released the service pack for 5.1 yesterday, so you may download it from your account downloads page and check the new functionality of the login widget.

    Regards,
    Victor Velev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
    Answered
  8. palak
    palak avatar
    13 posts
    Registered:
    01 May 2011
    24 Apr 2012
    Link to this post
    Waaw...

    Lemme' check this release.

    Many thanks to you victor.

    regards,
    palak
  9. Vince
    Vince avatar
    7 posts
    Registered:
    31 Aug 2012
    06 Nov 2013 in reply to Victor Velev
    Link to this post
    Hi Victor,

    I am running Sitefinity 6.2. I have added a Login form which uses a custom MembershipProvider (in case that matters). I have tried to set the "DestinationPageUrl" property to "~/someRedirectpage.aspx?param1=abcdefg" and "http://mydomain.com/somepage.aspx" but in all cases the login form does not redirect to the desired destination.

    Is this, perchance, a bug in Sitefinity 6.2?

  10. Muhammad
    Muhammad avatar
    2 posts
    Registered:
    09 May 2013
    11 Nov 2013 in reply to Vince
    Link to this post
    Hi Guys,
    Facing same problem while using 6.2. It cannot redirect to the page defined in DestinationPageUrl. Is there any official response regarding to that?
  11. Atanas Valchev
    Atanas Valchev avatar
    414 posts
    Registered:
    04 Jan 2016
    11 Nov 2013
    Link to this post
    Hi,

    This behavior is caused by a bug in 6.2. If you have the login widget and a login status widget on the same page, the destinationpageurl does not work and the user is not redirected.

    I apologize for the inconvenience. 

    Regards,
    Atanas Valchev
    Telerik
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  12. Muhammad
    Muhammad avatar
    2 posts
    Registered:
    09 May 2013
    12 Nov 2013 in reply to Atanas Valchev
    Link to this post
    Hi Atanas,
    Thank you for the reply. Going to build a custom control for that :)
  13. Vince
    Vince avatar
    7 posts
    Registered:
    31 Aug 2012
    20 Nov 2013 in reply to Atanas Valchev
    Link to this post
    Hi Atanas,

    When you have a moment, can you please report back to this thread when you guys decide in which service release this bug fix will be included?

    Thanks!
  14. Atanas Valchev
    Atanas Valchev avatar
    414 posts
    Registered:
    04 Jan 2016
    22 Nov 2013
    Link to this post
    Hi,

    The bug fix should be available in text release.

    Regards,
    Atanas Valchev
    Telerik
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  15. Logisz
    Logisz avatar
    8 posts
    Registered:
    17 Mar 2009
    29 Apr 2014 in reply to Atanas Valchev
    Link to this post

    In 6.3 this problem still exists..... :(

     What is a workaround for that?

  16. Svetoslav Manchev
    Svetoslav Manchev avatar
    735 posts
    Registered:
    07 Dec 2016
    02 May 2014
    Link to this post
    Hello Frank,

    I have dag a login widget on a page and set the property "DestinationPageUrl" to another page (for example: "/page/childpage") and it redirects after successful login to that page.

    I have checked this on 6.3 and 7.0 and it works as expected.

    Regards,
    Svetoslav Manchev
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
  17. Logisz
    Logisz avatar
    8 posts
    Registered:
    17 Mar 2009
    05 May 2014 in reply to Svetoslav Manchev
    Link to this post
    We had an "login status widget" in the master template which prevents from redirecting... Strange this widgets don't work easily together.... But it's working. 
  18. Sravn
    Sravn avatar
    1 posts
    Registered:
    25 Jul 2012
    17 Dec 2014 in reply to Svetoslav Manchev
    Link to this post

    Hi All,

    I have login widget and login/logout button in same page, i want to show the if user/admin/author logs, the login/logout button is shown, but login widget is also getting shown in that page, i have set the permission for login/logout button[shown for after login] and login widget [only shown for anonymous users], i tried so much but as it show because it has administrators permission. Is there any chance not to show the login widget as administrator logs in.

     

     

  19. Svetoslav Manchev
    Svetoslav Manchev avatar
    735 posts
    Registered:
    07 Dec 2016
    22 Dec 2014
    Link to this post
    Hi Sravn,

    In order to achieve your need you can try the following:
    - Open the More > Permissions menu of the Login widget
    - Set View permissions to Everyone
    - Set Deny permissions to Authenticated users (screenshot)

    This will hide the login widget when the user is logged (note that the administrators could not be restricted).

    In order to restrict all the authenticated users to view the widget you can do this for example in code behind of a custom layout widget. Have in mind that you should not restrict the view in design/preview mode.

    Regards,
    Svetoslav Manchev
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
19 posts, 2 answered