Good morning.
I just defined a widget area in the menu.tpl
(partial used in header.tpl
) called navbarsearch
with a global scope (all pages). That area is visible in the admin panel, I assigned a dummy html widget to it.
theme.js
{
name: 'NavBar Search Area',
template: 'global',
location: 'navbarsearch',
}
partial template:
<div widget-area="navbarsearch" style="background-color: red; flex-grow: 1;"></div>
api output:
"widgets": {
"navbarsearch": [ {
"html": "<div class=\"well\">Test</div>"
} ], ...
The api-output of any page shows the widget contents, but it doesn't get rendered into the widget-area... Did I miss anything?
Best,
Flo