Well - I don't know what you are using to output your div's, but if you are using getResources it could be something like:
[[getResources? &parents=`5` &tpl=`chk-threecol` &tplLast=`chk-threecol-last` ]] etc.
where the chunk chk-threecol contains
<div class="threecol">
[[+placeholdertagshere]]
</div>
And the chunk chk-threecol-last contains
<div class="threecol last">
[[+placeholdertagshere]]
</div>
You can read more here:
http://rtfm.modx.com/display/ADDON/getResources
[ed. note: Henrik Nielsen last edited this post 15 years, 1 month ago.]
- A small step for mankind, so why not take two...
Working with web production, graphic design/workflow, photo and education - but are trying to get a life in between!
i found a solution just using &tpl4=`chk-threecol-last` &tpl8=`chk-threecol-last` &tpl12=`chk-threecol-last`
etc works like a charm :O