configure fragments on a per ui template basis