Odoo Help

0

How to replace the navigation in the homepage only?

By
S. Edelman
on 12/8/15, 1:37 PM 891 views

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?

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 12/8/15, 1:37 PM
Seen: 891 times
Last updated: 12/8/15, 1:55 PM