跳至內容
選單
此問題已被標幟
1 回覆
9058 瀏覽次數

<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
3980
1
11月 18
8944
1
7月 18
8099
1
8月 16
10515