PDA

View Full Version : Custom Widget templating



bkraut
21 Jun 2011, 11:56 PM
Hi,

I need a custom Panel which would look like this:




{

coll1: [{
title: 'A'
},{
title: 'B'
}],
coll2: [{
title: 'A'
},{
title: 'B'
}],
coll3: [{
title: 'A'
},{
title: 'B'
}]

}



I would like to use a Template where I could define where collections of elements are displayed.




<div class="holder">
<div>{col1}</div>
<div>{col2}</div>
<div>{col3}</div>
</div>



Elements of collections are Panels. How can I do that? Any guidance much appreciated.

skirtle
23 Jun 2011, 4:08 AM
What is the motivation behind using a template rather than just using containers with suitable layouts?