How to customize HTML title for a specific BrowserView

My "foo" BrowserView was going to be used in only one or two cases, and rarely, so I didn't feel like going all away to define a theme for my add-on.

The final solution was to create a subclass of ViewletBase in the same module of my BrowserView class, to create a method in the BrowserView to provide the values for the title tag, and a snippet for the registration of the plone.htmlhead.title override.

Thank you all for your help.

1 Like