MivaLearn
12/2/2024 - 6:37 PM

Page Builder Category Header

A custom layout within the Miva admin under User Interface > Templates > Layouts. This layout includes custom template code that supports adding PageBuilder Flex Components. Be sure to assign the flex and sequence items and any other items needed for the Global Header and Footer.

<mvt:assign name="l.settings:ui:global_header:omit_page_title" value="1" />

<mvt:if expr="g.Function EQ 'PageBuilderPage_Preview'">
<mvt:item name="html_profile" />
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<base href="&mvte:global:basehref;"/>
	<mvt:if expr="NOT ISNULL l.settings:page:title">
		<title>&mvt:page:title;</title>
	<mvt:else>
		<title>&mvt:store:name;: &mvt:page:name;</title>
	</mvt:if>
	<mvt:item name="head" param="css_list" />
	<mvt:item name="head" param="head_tag" />
</head>
<body id="js-&mvte:page:code;" class="o-site-wrapper t-page-&mvte:global:pageClass;">
	<mvt:item name="hdft" param="global_header" />
</mvt:if>

<mvt:item name="sequence" />

<mvt:if expr="g.Function EQ 'PageBuilderPage_Preview'">
	<mvt:item name="hdft" param="global_footer" />
</body>
</html>
</mvt:if>