Jump to:

796 Posts in 409 Topics by 304 members


SilverStripe Forums » Widgets » login widget

Discuss SilverStripe Widgets.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 3546 Views
  • mc.stever
    Community Member
    1 Post

    login widget Link to this post

    Hi Folks
    I'm new to SilverStripe and I am working on my first project.
    I'm using 2.2.3.
    How to I get the login widget to appear on the main page of my project? Or is there an alternative way to request login info from the user. I'm not using the blog module (yet).

  • moloko_man
    Community Member
    72 Posts

    Re: login widget Link to this post

    If you have your main page as a different page type, i.e. MainPage.ss, etc. then in MainPage.ss you can put $LoginForm just under the $Content
    This will show a basic login form.

  • ojalà
    Community Member
    87 Posts

    Re: login widget Link to this post

    I need use login form in Page.ss. After login I need enter in an other page 'Reserved page' (the type is Page.ss again).
    After login how can redirect user to this page?thanks!

  • jsdev
    Community Member
    9 Posts

    Re: login widget Link to this post

    if I use the widget in 2.2.3 RC2 on the blog page the login ddidn't work
    I got
    .../emmaus/Security/?executeForm=LoginForm ( The requested page couldn't be found. )

    If I am loged in I see my login

    Any Idea ?


  • BDD
    Community Member
    5 Posts

    Re: login widget Link to this post

    file LoginWidget.ss

    replace string number 7
    <form action="emmaus/Security/?executeForm=LoginForm" method="post" enctype="application/x-www-form-urlencoded">
    to string
    <form action="Security/LoginForm" method="post" enctype="application/x-www-form-urlencoded">

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.