title: MODX - Getting "pagetitle" and other info from siblings
body: <p>I need to figure out a way to add information from sibling pages to my template file</p>
  
  <p>Here is an image of the file structure (the red items are the siblings whos info I need to access inside my template):</p>
  
  <p><a href="https://i.stack.imgur.com/08YXh.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/08YXh.jpg" alt="enter image description here"></a></p>
  
  <p>Here is the tpl file code that I am using:</p>
  
  <pre><code>[[+total:isequalto=`1`:then=`&lt;div class="equalHeightListItem full_width[[+idx:isequalto=`1`:then=` column-last`]]"&gt;`:else=``]][[+total:isequalto=`2`:then=`&lt;div class="equalHeightListItem one_half[[+idx:isequalto=`2`:then=` column-last`]]"&gt;`:else=``]][[+total:isequalto=`3`:then=`&lt;div class="equalHeightListItem one_third[[+idx:isequalto=`3`:then=` column-last`]]"&gt;`:else=``]][[+total:isequalto=`4`:then=`&lt;div class="equalHeightListItem one_half[[+idx:isequalto=`2`:then=` column-last`]][[+idx:isequalto=`4`:then=` column-last`]]"&gt;`:else=``]]
      &lt;figure class="projectImg bwWrapper icon-box7"&gt;
          &lt;a href="[[~[[+id]]]]"&gt;
              &lt;div class="operations productImage" style="max-width: 100%; background-image: url('[[+tv.products.category.img]]')"&gt;&lt;/div&gt;
          &lt;/a&gt;
          &lt;div class="projectDesc equalHeightListItemInner operations"&gt;
              &lt;h4&gt;&lt;a href="[[~[[+id]]]]"&gt;[[+menutitle:default=`[[+pagetitle]]`]]&lt;/a&gt;&lt;/h4&gt;
              &lt;p&gt;[[+introtext]]&lt;/p&gt;
  
              &lt;div&gt;&lt;a href="[[~[[+id]]]]" class="magicmore corpLink"&gt;Read More&lt;/a&gt;&lt;/div&gt;
  
              &lt;!-- I need to add sibling info here --&gt;
  
          &lt;/div&gt;                
      &lt;/figure&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Any help is greatly appreciated.</p>