Community mailing list archives

community@mail.odoo.com

Change page when it's not home - website module

by
kristian
- 11/07/2015 21:59:56
Hi, I'm trying to achieve something like this, for example, take this homepage:


If you go then to one of the menu sections, like this one for example:


You can see, the main menu changed, like for example in wordpress you can do this:

if is_home();
    // do your logic;

Of course that is php, but it is just to illustrate what I want to achieve, there are methods for Django, Flask thru template tags, etc.

Is there a way to acheive this on website module only by changing/editing the main layout?

Thanks in advance!

--
Kristian Koci
Linux User #582221