Jump to:

23355 Posts in 17734 Topics by 2862 members

General Questions

SilverStripe Forums » General Questions » Wildcards

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 504 Views
  • oerm4411
    Avatar
    Community Member
    14 Posts

    Wildcards Link to this post

    This may have been answered before, but I don't see it when I do a search. Are there any wildcards for users' names? I'd like to have my site say "Welcome back XXXX" when they login, preferably using a user's first name.

  • swaiba
    Avatar
    Forum Moderator
    1784 Posts

    Re: Wildcards Link to this post

    wildcards?

    you can use ss templating functions like...

    <% control CurrentMember %>{$FirstName}<% end_control %>

  • oerm4411
    Avatar
    Community Member
    14 Posts

    Re: Wildcards Link to this post

    How do I embed that code in the welcome page? Do I simply insert that in the page editor or in the HTML?

  • swaiba
    Avatar
    Forum Moderator
    1784 Posts
  • oerm4411
    Avatar
    Community Member
    14 Posts

    Re: Wildcards Link to this post

    Thank you Swaiba!

    504 Views
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.