inherit
162752
0
Apr 19, 2024 11:31:08 GMT -8
Pebble
Where it all does or doesn't happen!
1,437
January 2011
pebbleleague
|
Post by Pebble on May 13, 2014 2:39:12 GMT -8
Hi Everyone! I've decided to play around with templates and I'm a bit.... lost, while trying to find variables (if they exist). The basic idea is to be able to run a foreach loop for each label that is available on the thread list page. This: {foreach $[thread]}
<div> $[thread.labels] </div>
{/foreach}
Will produce a list of labels used on the page. But I just want a list of those that are available. If anyone has any ideas how to do this, or if it is even possible, any info would be great. The sort of thing I thought would be possible, would be something along the lines of: {foreach $[labels]}
<div> $[labels] </div>
{/foreach}
Thanks, Pebble. ( I know I can do this using Javascript, but I'm putting together a theme so I want to do it using a template mod if possible using the available variables. )
|
|