콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
4 답글
3961 화면

Hi,

I have set-up multiwebsite in Odoo v12 CE. But the footer seems to be shared for all website's. Is there way to customize this?

Kind regards,

Bastiaan

아바타
취소
베스트 답변

I am suggest you to customise footer template and, in that you can check which website currently running,

Let's say:

Website-1

Website-2

currently Website-1 is running

you can check in footer template, there is a default variable accessible in qweb called website, based on that you can do this.

Let's say you have two footer template then

<t t-if="website.name == 'Website-1' ">

<t t-call="footer_template_1"/>

</t>

<t t-if="website.name == 'Website-2' ">

<t t-call="footer_template_2"/>

</t>

I hope it will helpful for you

Thanks and regards

Haresh Kansara

아바타
취소
작성자

Hi Haresh, thank you for this information! I'll try! :-)

베스트 답변

Hello Bastiaan,

Yes, you can customize the footer according to the website. Odoo Multi Website offers the functionality of installing a theme-based application website wise that lets you set footers according to a website. Different themes have different footer designs that will apply website-wise.


Note: Odoo identify the theme-based application by module name prefix 'theme_'.

아바타
취소
작성자 베스트 답변

So let say I want my 2 websites to run the same theme but different footer, then I should clone the theme?

아바타
취소

Which theme are you using?

작성자

Hi Dharmeh, i'm using the out-the-box standard theme.

관련 게시물 답글 화면 활동
0
3월 19
3367
Footer section size 해결 완료
2
11월 16
5954
1
3월 15
4231
3
6월 24
2452
6
6월 24
8652