Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
9068 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 1 24
39
4
thg 6 23
3987
1
thg 11 18
8961
1
thg 7 18
8101
1
thg 8 16
10523