article=={{article}}||quote=={{quote}}[+mytpl+]
article||quote
[+mytpl:eq=`article`:then=`{{article}}`:else=`{{quote}}`+]<article class="item [+link_attributes+]">
<div class="ldr"> <img src="[+imagem+]" data-roll="[+imagem+]" alt="[+title+]" />
<div class="info"></div>
<div class="panel" style="background-color:[+cor+]">
<h2>[+title+]</h2>
<div class="text">
<div class="content">
<p>[+summary+]</p>
</div>
<a href="[+codigo+]" rel="external">BUY</a> </div>
</div>
<div class="roll"></div>
<span class="arr"></span> </div>
</article>
<aside class="item quote">
<blockquote>
<p>[+summary+]<br />
#justsaying”</p>
<footer>[+title+]<br />
<a href="[+codigo+]" rel="external">[+URL+]</a><img src="[+URL+]" alt="" /> </footer>
</blockquote>
</aside>Hi, MRHAW
Thanks per support
I put:
[[if? &is=`[*mytpl*]:is:1` &then=`@TPL:article`]]
Where [*mytpl*] is my TV and article is my chunck
but occurred this error
Error : Invalid argument supplied for foreach()
[[Ditto? &startID=`3` &tpl=`[!if? &is=`[*mytpl*]:is:1` &then=`mytemplate`!]`]]
[!Ditto? &startID=`3` &tpl=`[[if? &is=`[*mytpl*]:is:1` &then=`mytemplate`]]`!]
[!if? &is=`[+mytpl+]:is:1` &then=`{{article}}` &else=`{{quote}}`!]