When creating a barceloneta theme project using bobtemplates it also creates the template-override folder.
I am following https://training.plone.org/5/theming/theme-package-4.html - but I know these tutorials are a bit outdated.
Anyhow, in the tutorial above, you just add the new template to override the regular one with the dot notation: plone.app.event.browser.event_view.pt or plone.app.layout.viewlets.sections.pt
My question here is is this enough? Since it did not work for me (maybe I got something wrong). But doing somemore digging I had to add a configuration in the browser/configure.zcml file:
<browser:viewlet name="plone.global_sections" manager="plone.app.layout.viewlets.interfaces.IMainNavigation" class="plone.app.layout.viewlets.common.GlobalSectionsViewlet" template="../theme/template-overrides/plone.app.layout.viewlets.sections.pt" layer="plonetheme.theme.interfaces.IPlonethemeCodehutlabsLayer" permission="zope2.View" />
Is this a good way to do it or am I missing something?