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

hello,

I am pretty new here. I was designing my website using odoo's website builder and I accidentally removed the footer and I can no longer add it.


I tried drag and drop at the bottom of the home page but it was added to the homepage instead of the footer. How can I add it?

아바타
취소
베스트 답변

Odoo adds a customized version of the footer when you delete it using the website editor. If you delete this customized view, the footer will revert to the original setting.

Activate developer mode by going to Settings > General Settings, scrolling all the way down and clicking on Activate the developer mode. Then go to Settings > Technical > User Interface > Views and search for footer. You will see 2 views called Footer with a key of website.footer_custom . One of them will have a blank Website field and the other will have the name of the Website from which you deleted the footer. The contents of the second view will look somewhat like so.

<data inherit_id="website.layout" name="Footer">
  <xpath expr="//div[@id='footer']" position="replace">
    <div id="footer" class="oe_structure oe_structure_solo" t-ignore="true" t-if="not no_footer">
            
        </div>
  </xpath>
</data>

Delete this view and your home page will be restored to it's default state.

NOTE: Try this on a copy of the database first.


아바타
취소

Worked perfectly, thank you!

Hello, this doesn't work as stated in the latest version (as of this date). After activating the developer mode in Settings, an "Applications app" is added to the CRM dashboard for Odoo Online users. If you go into it, there is a "Technical" tab; however when you select it it is empty. Could someone help please as even trying the workaround provided by Ricardo Gross doesn't work, as you would have to add your Text block (duplicated of course) to each page. It doesn't automatically post to all pages (and I didn't see any field allowing me to set it to do so.) Please note, that after turning on the developer tool, nothing changes in the Settings (i.e., no "Technical" tab displays there. I only found it in the Application app [module]). Thanks in advance for help!

P.S. I could add it to the web page via Inspect Elements if someone could tell me what the code would be and where to place it, as I'm not super HTML savvy.

베스트 답변

Hi,

Simply add a Text block at the bottom of the home page and it will work like a Footer (visible on all pages). From version 13.3 even with specific footer functions.

Note that in the text block you can set the number of columns, color, ... , as in the original Footer.

BR

Ricardo

아바타
취소
관련 게시물 답글 화면 활동
1
12월 20
7876
2
6월 25
840
0
3월 24
2007
0
3월 21
4614
1
3월 25
17238