How can I do a ditto call and show a custom TV in both languages by using 1 dittocall and 1 Tpl?
I now have:
[[YAMS? &get=`chunk` &from=`footer`]]
footer_en has:
[!Ditto?
&extenders=`@FILE assets/modules/yams/yams.extender.inc.php`
&language=`(yams_mname)`
&parents=`1`
&tpl=`footer_en_inhoud`
&limit=`1`
&phx=`0`
!]
footer_nl has the same only a other Tpl:
Chunk footer_en_inhoud has:
<div class="f-blok">[+f-blok1_en+]</div>
<div class="f-blok">[+f-blok2_en+]</div>
<div class="f-blok">[+f-blok3_en+]</div>
<div class="f-blok">[+f-blok4_en+]</div>
<div class="clear"> </div>
And chunk footer_nl_inhoud has the same only: [+f-blok1_nl+] etc..
This all works but I'd like to reduce the ammount of chunks and calls..
It should be working when I choose [+f-blok1+] without the _en+] or _nl+] but somehow I cant get this to work.
I also tried [+f-blok1(yams_name)+] but no luck..