on TBS 3.4.0,
i get troubles where a try to embed a conditional subblock a conditional block, like
<p class="refsItemG">
<a href="about" class="refsbtnitemGsel" id="batiment[types.$]" onclick="return showSubmenu(this);"> [types.text;block=p+div;when [types.id]=[id_type];several]</a>
</p>
<div class="slideRefsBlanc" id="gbatiment[types.$]">
<div class="slideRefs">
<a href="about" class="contSlideSel">
<img src="media/reference/menu/[listetypes.file]" class="imgVignRefs" alt="[listetypes.titre]" />
<span class="titrContSlide">[listetypes.titre;block=a;p1=[types.id];when [listetypes.id]=[id_reference];several]</span>
</a>
<a href="about" class="contSlide">
<img src="media/reference/menu/[listetypes.file]" class="imgVignRefs" alt="[listetypes.titre]" />
<span class="titrContSlide">[listetypes.titre;block=a;p1=[types.id];default]</span>
</a>
</div>
</div>
<p class="refsItemG">
<a href="about" class="refsbtnitemG" id="batiment[types.$]" onclick="return showSubmenu(this);"> [types.text;block=p+div;default]</a>
</p>
<div class="slideRefsBlanc" id="gbatiment[types.$]">
<div class="slideRefs">
<a href="about" class="contSlideSel">
<img src="media/reference/menu/[listetypes.file]" class="imgVignRefs" alt="[listetypes.titre]" />
<span class="titrContSlide">[listetypes.titre;block=a;p1=[types.id];when [listetypes.id]=[id_reference];several]</span>
</a>
<a href="about" class="contSlide">
<img src="media/reference/menu/[listetypes.file]" class="imgVignRefs" alt="[listetypes.titre]" />
<span class="titrContSlide">[listetypes.titre;block=a;p1=[types.id];default]</span>
</a>
</div>
</div>
|
sorry i had no time to simplify.
i tested without the conditionals on 'listetypes' (block=a) and it works ok, i have my data merged.
Also i tried without using block=p+div, or without putting conditional on the block=p+div,
and it doesn't work either.
When it doesn't work, i get an empty <div class="slideRefs"> </div>, as if the block=a was deleted somehow.
Anybody knows what's wrong with me ?