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

Trying to replace the navigation (treehouse theme) on the default page (homepage) so that this page wouldn't have any navigation at all in the header but the other pages would have the normal navigation.

Reading the Odoo docs, I created pages.xml and listed it also in the __openerp__.py.


Pages.xml looks like this:

<?xml version="1.0" encoding="utf-8"?>

<openerp>

<data>

<!-- HOMEPAGE - Make a Special home page without navigation

================================================== -->

<!-- === HomePage === -->

<template name="Homepage" id="website.homepage" page="True">

<xpath expr="//header[@id='my_header']/div" position="replace">

<div></div>

</xpath>

</template>

</data>

</openerp>


Anyhow I have no effect with this. I still have a normal homepage navigation. What goes wrong?

아바타
취소
관련 게시물 답글 화면 활동
1
11월 23
1747
0
7월 24
949
3
6월 23
9083
1
12월 22
5603
3
2월 18
9899