enable urlsegments to our basetemplate
update to addTemplateFields() method