I'm trying to nest get resources, but it's behaving very strangely. Basically I'm trying to build a series of bootstrap carousels based on a resource structure like:
>WEB
>HOME
>ABOUT
>SALON
->CAROUSEL 1
-->SLIDE 1
-->SLIDE 2
-->SLIDE 3
->CAROUSEL 2
-->SLIDE 1
-->SLIDE 2
-->SLIDE 3
->CAROUSEL ...etc...
The content of the SALON page calls the immediate children
<div class="wrapper content">
<div class="container">
<div class="row">
<div class="col-md-12">
[[!getResources?
&tpl=`salonTpl`
&sortdir=`asc`
&includeTVs=`1`
&processTVs=`1`
&depth=`1`]]
</div>
</div>
</div>
</div>
The salonTpl
<div id="myCarousel-[[+id]]" class="carousel slide salon-content" data-ride="carousel">
<div class="carousel-inner"><a name="anchor[[+id]]" ></a>
[[!getResources?
&resources=`[[+id]]`
&parents=`[[+id]]`
&tpl=`previewTpl`
&tplFirst=`previewFirstTpl`
&sortdir=`asc` &includeTVs=`1`
&processTVs=`1`]]
</div>
<a class="left carousel-control" href="#myCarousel-[[+id]]" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left"></span></a>
<a class="right carousel-control" href="#myCarousel-[[+id]]" data-slide="next">
<span class="glyphicon glyphicon-chevron-right"></span></a>
</div>
& the previewTpl
<div class="[[+tv.SalonImageAlign]] item">
[[+tv.previewImage]]
<div class="carousel-caption [[+tv.SalonImageAlign]]">
<h1>[[+pagetitle]]</h1>
<p>[[+introtext]]</p>
</div>
</div>
I cannot seem to get the [[+tv.SalonImageAlign]] to display at all, I've double checked everything, it has a name value etc. If i remove the tpl values from the getresources call it DOES appear in the raw dump.
[tpl] =>
[tplOdd] =>
... etc ...
[properties] =>
[tv.previewImage] =>
[tv.SalonImageAlign] => left
Any idea what is going on here?