跳至内容
菜单
此问题已终结
1 回复
9049 查看

<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.

形象
丢弃
最佳答案

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

形象
丢弃
相关帖文 回复 查看 活动
0
1月 24
39
4
6月 23
3976
1
11月 18
8938
1
7月 18
8093
1
8月 16
10510