Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
9052 Представления

<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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
янв. 24
39
4
июн. 23
3976
1
нояб. 18
8938
1
июл. 18
8094
1
авг. 16
10510