+

Search Tips   |   Advanced Search

Define component designs for different users

A user name element displays the current user's name in a presentation template, component design, or element design. We can only use a user name element by creating a user name component. We cannot add a user name element to authoring templates, site areas, or content items.

  1. Enter identification information for the component.

  2. Create an anonymous user design. This is used when an anonymous user accesses a website. We must select "Display Anonymous" to enable the Anonymous user design. If "Display Anonymous" is not selected, the user name element is not rendered when an anonymous user accesses a website.

  3. Create a user name design. This is displayed when an authenticated user accesses a website. Use a placeholder tag with a value of "name" in the user name design to display the name of the current user. For example:

      [placeholder tag="name" start="Welcome " end=" to this Site" ]

    To display the distinguished name of a user, use tag="dn".

      [placeholder tag="dn" start="Welcome " end=" to this Site" ]


Parent Use a user name element

Previous topic: Set a location for the user name component

Next topic: User name component properties

Related tasks:

Insert an image in an element
Insert a link in an element
Insert element tags
Create web content tags