Using tokens for Item class in Projection layout

Topics: General
Aug 3, 2012 at 12:47 PM
Edited Aug 3, 2012 at 12:47 PM

I have a projection displaying a list of my custom content items (all the same type). I would like to use tokens to add a property of my content item to the class of the list items. I have setup custom tokens that are working for Autoroute but if I put these in the Item class field in the layout they don't work.

Debugging seems to suggest that the Content tokens are acting on the Projection widget or page content item not the actual content item's being displayed.

Is this expected or am I doing something wrong? And is there a different way of getting this to work if it's expected?

Aug 3, 2012 at 7:34 PM

Would it be possible to file a bug giving as much detail as possible about how to reproduce the problem?

Aug 6, 2012 at 9:42 AM

Yep, have done here -

Please let me know if you need more info or real code examples for the custom tokens.