I try to show my category uid or name as a class="category.uid"
at my FLUID template.
If I try <f:debug>{data}</f:debug>
I'll see there are an output like: categories => '1' (1 chars)
But how can I write the category-uid or -name into my FLUID/HTML, similar like this:
<div id="container" class="{data.nav_title}">
<!-- I need the categories -->
<div id="container" class="{categories.uid}">
THanks for your help.
EDIT: some screenshots
The info is in table sys_category
title, uid, pid ..
edit
..screenshot - user2310852f:for
ViewHelper, and then you can fetch an id - Viktor Livakivskyi<f:debug>data</f:debug>
only get an bool variable (1 or 0). With thef:for
ViewHelper, I only get the uid, not the title. So that's not enough. I will find another way to get my class into the template. thanks - user2310852