Hi,
I’m still desperatly trying to use the alternate chunk to list Ditto’s items. I’ve never been able to use this parameter on 3 sites ... (only one time actually, but still think it was luck!)
here’s the chunck (the alt one is the same with some different classes)
<div class="ditto_parcours_lst" >
<div class="ditto_parcours_item" id="ditto_parcours_item_[+id+]">
<div class="titre-section">
<span class="T3">[+introtext+] - </span><h3><a class="previewlink" href="[~[+id+]~]">[+pagetitle+]</a></h3>
</div>
<div class="ditto_parcours_docInfo">
[+content+]
</div>
<hr class="fin-section" />
</div>
</div>
and the call.
[!Ditto? &startID=`51` &tpl=`Ditto-parcours-tpl` $tplAlt=`Ditto-parcours-tpl-alt` &paginate=`1` &summarize=`20` &sortBy=`id` &sortDir=`asc` &trunc=`1` &truncSplit=`1` &truncLen=`270` &dateFormat=`%d %b %Y - %H:%M` &language=`francais`!]
The results page is ok, but only generates NON ALT classes, meaning the ALT tpl is not recognized or called ...
Where did I failed ?
Thanks a lot.
Schtroumpf Grognon - Grouchy Smurf
---------------------------------
Faites pas attention.. - Don't pay attention
http://www.dzi-neo.net
Syntax error : you switched & by $
Just change [tt]$tplAlt=`Ditto-parcours-tpl-alt`[/tt] by [tt]&tplAlt=`Ditto-parcours-tpl-alt` [/tt]
;)
.: COO - Commerce Guys - Community Driven Innovation :.
MODx est l'outil id
oops!
sorry
I did not pass so much time ont it ..but 2 weeks however ..huh! >:(
Schtroumpf Grognon - Grouchy Smurf
---------------------------------
Faites pas attention.. - Don't pay attention
http://www.dzi-neo.net