make blockcontrols work with multiple views
get viewname from blockconfig