0
から「ページタイトル」やその他の情報を取得すると、ファイル構造のイメージである(赤の項目が兄弟であります私は、テンプレート内でアクセスする必要が玉葉情報):MODX - 私はここに私のテンプレートファイルに</p> <p>兄弟ページからの情報を追加する方法を把握する必要があり兄弟
ここでは、私が使用していますTPLファイルのコードです:
[[+total:isequalto=`1`:then=`<div class="equalHeightListItem full_width[[+idx:isequalto=`1`:then=` column-last`]]">`:else=``]][[+total:isequalto=`2`:then=`<div class="equalHeightListItem one_half[[+idx:isequalto=`2`:then=` column-last`]]">`:else=``]][[+total:isequalto=`3`:then=`<div class="equalHeightListItem one_third[[+idx:isequalto=`3`:then=` column-last`]]">`:else=``]][[+total:isequalto=`4`:then=`<div class="equalHeightListItem one_half[[+idx:isequalto=`2`:then=` column-last`]][[+idx:isequalto=`4`:then=` column-last`]]">`:else=``]]
<figure class="projectImg bwWrapper icon-box7">
<a href="[[~[[+id]]]]">
<div class="operations productImage" style="max-width: 100%; background-image: url('[[+tv.products.category.img]]')"></div>
</a>
<div class="projectDesc equalHeightListItemInner operations">
<h4><a href="[[~[[+id]]]]">[[+menutitle:default=`[[+pagetitle]]`]]</a></h4>
<p>[[+introtext]]</p>
<div><a href="[[~[[+id]]]]" class="magicmore corpLink">Read More</a></div>
<!-- I need to add sibling info here -->
</div>
</figure>
</div>
どれでも助けが大変ありがとうございます。