Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
8486 Prikazi

<template id = "kwonboard_onboarding"> 

<t t-call="website.layout">


<xpath expr="//header" position="replace">

...

</xpath>

</t>

</template>


This code is not working. If you have any suggestion then do suggest.

Avatar
Opusti
Best Answer

Hi Surya,

No need to replace using xpath, you just add your header using <header></header> and <footer></footer> it will automatic replace base header footer code. If you want to use your custom header-footer then no need to call website.layout.

Hope it will helpful for you.

Thanks and regards

Haresh Kansara

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
jan. 24
39
4
jun. 23
3281
1
nov. 18
8485
1
jul. 18
7728
1
avg. 16
10023