ähm, what you want?! or nothing. If you have this: layout = TEXT layout.data = levelfield:-1,backend_layout_next_level,slide layout.override.field = backend_layout in the variables than you can use the var 'layout' in your viewhelper e.g.: <f:if condition="{layout} == 'pagets__1'">