Answers.Body: <p>I'm not sure I totally understand your issue, but give this a try in your Matrix code: </p>
  
  <pre><code>{% for entry in block.projectsEntry %}
      &lt;a href="{{ entry[0].getUrl() }}"&gt;{{ entry[0].title }}&lt;/a&gt;
  {% endfor %}
  </code></pre>
  
  <p>Are you getting any errors in devMode?</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-05-19T16:48:38.313Z
Answers.Text: Thanks for the response. I am not getting any return errors. I edited my original post to help clarify
Answers.UserDisplayName: unsider
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-05-19T01:34:53.283Z
Answers.LastActivityDate: 2015-05-19T01:34:53.283Z
Answers.UserDisplayName: Aaron Berkowitz
Body: <p>I've looked around a good bit to see if I could solve this problem on my own. I've managed to get close I believe, but I think I don't quite understand Craft's relationships.</p>
  
  <p>Basically, I have a related projects section on my site. I'm allowing the user to select the related projects with an Entries tag within my matrix. I would then like to compare their selected Entries with projects already added to a Structure - then output attributes that exist only in the Structure.</p>
  
  <p>This is as far as I've gotten:</p>
  
  <p>My Structure Content</p>
  
  <pre><code>{% for entry in craft.entries.section('homePageBanners').limit(3) %}
      {% for block in entry.banner.limit(3) %}
  
          {{ block.client }}
          {{ block.bannerImage }}
  
      {% endfor %}
  {% endfor %}
  </code></pre>
  
  <p>My Matrix Entries Block:</p>
  
  <pre><code>{% for entry in block.projectsEntry %}
      &lt;a href="{{ entry.getUrl() }}"&gt;{{ entry.title }}&lt;/a&gt;
  {% endfor %}
  </code></pre>
  
  <p>I'm not sure how to compare them &amp; pull content based on what the user selects. I looked into relatedTo(), but didn't have much luck with that.</p>
  
  <p>If that's not clear, I can try to be more specific -- please go easy on me, I'm pretty new to Craft.</p>
  
  <p>EDIT:</p>
  
  <p>Maybe this will help clarify
      {% for entry in block.projectsEntry %}</p>
  
  <pre><code> {% for project in craft.entries.section('homePageBanners').limit(3) %}
    {% set relatedProjects = craft.entries.section('homePageBanners').relatedTo(project) %}
     {% for project in relatedProjects %}
      &lt;a href="{{ project[0].getUrl() }}"&gt;{{ project[0].title }}&lt;/a&gt;
     {% endfor %}
    {% endfor %}
   {% endfor %}
  </code></pre>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-05-18T18:33:37.987Z
Comments.Text: Still no luck with this unfortunately.
Comments.UserDisplayName: unsider
Tags: <matrix><structure>
Title: Related Projects (Structure + Channel Matrix)
ThreadText: # Related Projects (Structure + Channel Matrix)
  
  (Asked by: username_0 on 2015-05-12)
  
  I've looked around a good bit to see if I could solve this problem on my own. I've managed to get close I believe, but I think I don't quite understand Craft's relationships.
  
  Basically, I have a related projects section on my site. I'm allowing the user to select the related projects with an Entries tag within my matrix. I would then like to compare their selected Entries with projects already added to a Structure - then output attributes that exist only in the Structure.
  
  This is as far as I've gotten:
  
  My Structure Content
  
  ```
  {% for entry in craft.entries.section('homePageBanners').limit(3) %}
      {% for block in entry.banner.limit(3) %}
  
          {{ block.client }}
          {{ block.bannerImage }}
  
      {% endfor %}
  {% endfor %}
  
  ```
  
  My Matrix Entries Block:
  
  ```
  {% for entry in block.projectsEntry %}
      <a href="{{ entry.getUrl() }}">{{ entry.title }}</a>
  {% endfor %}
  
  ```
  
  I'm not sure how to compare them & pull content based on what the user selects. I looked into relatedTo(), but didn't have much luck with that.
  
  If that's not clear, I can try to be more specific -- please go easy on me, I'm pretty new to Craft.
  
  EDIT:
  
  Maybe this will help clarify
  {% for entry in block.projectsEntry %}
  
  ```
   {% for project in craft.entries.section('homePageBanners').limit(3) %}
    {% set relatedProjects = craft.entries.section('homePageBanners').relatedTo(project) %}
     {% for project in relatedProjects %}
      <a href="{{ project[0].getUrl() }}">{{ project[0].title }}</a>
     {% endfor %}
    {% endfor %}
   {% endfor %}
  
  ```
  
  **Tags:** matrix, structure
  
  > **Comments:**
  > **username_0**: Still no luck with this unfortunately.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-05-19. Score: 2
  
  I'm not sure I totally understand your issue, but give this a try in your Matrix code:
  
  ```
  {% for entry in block.projectsEntry %}
      <a href="{{ entry[0].getUrl() }}">{{ entry[0].title }}</a>
  {% endfor %}
  
  ```
  
  Are you getting any errors in devMode?
  
  > **Comments:**
  > **username_0**: Thanks for the response. I am not getting any return errors. I edited my original post to help clarify  
  
  ---
  
  