Announcement

Collapse
No announcement yet.

Show username in a custom page

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Show username in a custom page

    Hi, how can I print the username in a custom page or dashboard? It does exist a short code?
    Example: echo {username}

  • #2
    Hello
    Find the view and template, what you need, set in 'data' user name, or other values

    Comment


    • #3
      Can you explain, please.

      Comment


      • #4
        for example view for dashlet client/src/views/dashboard.js
        it contains 'data' function. This attributes are passed to template client/res/templates/dashboard.tpl

        to define username and show it, add to template {{username}} in needed place and in the view, data object username:this.getUser().get('userName'),

        Comment


        • #5
          Unfortunately I still do not understand. Is it so complicated?
          Could you explain me step by step?is the first time I use this crm, thank you so much

          Comment

          Working...
          X