View Single Post
  #9  
Old October 3rd, 2012, 06:24 PM
johngibb123 johngibb123 is offline
 
Join Date: Aug 2012
Posts: 329
Default

at the end, i made it to work it, BUT unfortunately the css i found unable to work for our dynamic generated content, BUT my code works for static data...

Could you please tell me whats the solution for kinda below case:



Quote:
<div class="wrap">
<div class="graphite demo-container">

[category.list before='<ul class="accordion accordion-6">' after='</ul>']

[category.if active="self"]
<li>
[category.name]
[category.repeat]
</li>
[/category.if]

[category.if active="child"]
<li>
<a href="[category.link]" title="[category.name]">[category.name]</a>
[category.repeat]
</li>
[/category.if]

[category.if active="parent"]
<li>
<a href="[category.link]" title="[category.name]">[category.name]</a>
</li>
[/category.if]

[category.if active="no"]
<li>
<a href="[category.link]" title="[category.name]">[category.name]</a>
</li>
[/category.if]


[/category.list]

</div>
</div>

So any suggestion to make my css work for this dynamic generated datafeedr categories in widget..?