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"?>
<!-- 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">
Anyhow I have no effect with this. I still have a normal homepage navigation. What goes wrong?
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 12/8/15, 1:37 PM|
|Seen: 512 times|
|Last updated: 12/8/15, 1:55 PM|