I've created a custom content element called cat_but
(category button). I've added TCA and content element wizard without problem. The category button have only one field: sys_category. Exactly one category should be selected. From this, I want to render a link action to a controller using that category as argument. But how would I access the sys_category field from the Fluid template for the content element? There is no PHP class associated to the element, no? Or can I fetch sys_category
from Typoscript? Or could I access the tt_content
from a view helper?
Edit: Possibly feed {data.uid}
to view-helper and from there look up categories.