Answers.Body: <p>It works identically to entries. </p>
  
  <p>Here are a couple things you can do to troubleshoot:</p>
  
  <ul>
  <li><p>Make sure that <code>user</code> is set to the user account you’re expecting it is. You can double check that by outputting <code>{{ user.username }}</code>.</p></li>
  <li><p>Make sure that you’re calling the right Matrix field handle, with the correct capitalization.</p></li>
  <li><p>If you’re passing the <code>type</code> param, make sure you’re passing in the right Block Type handle.</p></li>
  </ul>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-10-15T11:33:29.870Z
Answers.LastActivityDate: 2014-10-15T11:33:29.870Z
Answers.UserDisplayName: Brandon Kelly
Answers.Body: <p>Oh, sorry, 
  I forgot to put the original values in administration panel. That is, I did not push +myMatrixfield and it turns out that the matrix field does not exist.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-10-15T12:10:24.453Z
Answers.LastActivityDate: 2014-10-15T12:10:24.453Z
Answers.UserDisplayName: Vitaliy  Badalov
Body: <p>I created matrix field, put it in the user field. In the front-end page as usually write</p>
  
  <pre><code>{% for block in user.myMatrixfield.type('myType') %}
     ................
  {% endfor %}
  </code></pre>
  
  <p>but there is no output!
  try to write <code>{% user.myMatrixfield|length %}</code> - outputs 0</p>
  
  <p>In administration panel everything works.
  How to get matrix field in user-profile front-end page?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-10-15T06:30:00.650Z
Comments.Text: How are you setting the user variable? Can you supply the template code for the page?
Comments.UserDisplayName: Jamie Wade
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-10-15T11:21:24.723Z
Comments.Text: way for the user does not need the same variable, the user simply
Comments.UserDisplayName: Vitaliy  Badalov
Tags: <users><matrix><user-profile>
Title: Matrix field in user-profile front-end
ThreadText: # Matrix field in user-profile front-end
  
  (Asked by: username_0 on 2014-10-15)
  
  I created matrix field, put it in the user field. In the front-end page as usually write
  
  ```
  {% for block in user.myMatrixfield.type('myType') %}
     ................
  {% endfor %}
  
  ```
  
  but there is no output!
  try to write `{% user.myMatrixfield|length %}` - outputs 0
  
  In administration panel everything works.
  How to get matrix field in user-profile front-end page?
  
  **Tags:** users, matrix, user-profile
  
  > **Comments:**
  > **username_1**: How are you setting the user variable? Can you supply the template code for the page?  
  > **username_0**: way for the user does not need the same variable, the user simply  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2014-10-15. Score: 1
  
  It works identically to entries.
  
  Here are a couple things you can do to troubleshoot:
  
  * Make sure that `user` is set to the user account you’re expecting it is. You can double check that by outputting `{{ user.username }}`.
  * Make sure that you’re calling the right Matrix field handle, with the correct capitalization.
  * If you’re passing the `type` param, make sure you’re passing in the right Block Type handle.
  
  
  ---
  
  ### Answer by username_0 on 2014-10-15. Score: 1
  
  Oh, sorry,
  I forgot to put the original values in administration panel. That is, I did not push +myMatrixfield and it turns out that the matrix field does not exist.
  
  
  ---
  
  