Login | Forgot password | Register

X

What is OpenID?

OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.

With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.

For more information visit the official OpenID site.

Jump to:

762 Posts in 243 Topics by 250 members

Form Questions

SilverStripe Forums » Form Questions » Template for $LoginForm only

Page: 1
Go to End
Author Topic: Template for $LoginForm only 649 Views
  • grilldan
    avatar
    Community Member
    135 posts

    Template for $LoginForm only Link to this post

    What I need is a way to customize the form template when $LoginForm is called, but leave all other forms alone.

    In logic, I want to be able to do something like this:

    if form
    ...if loginform
    ......show 1
    ...else
    ......show 2
    ...end if
    end if

    In the Form.ss, it usually calls "$FieldHolder", I need it to call "$Field", but only when the $LoginForm is used.

    Any suggestions?

    649 Views
Page: 1
Go to Top

Currently Online: There is nobody online.

Welcome to our latest member: Newclear

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

Comments on this website? Please give feedback.