Community: CMS / eCommerce Experts mailing list archives

expert-website@mail.odoo.com

How does the website module apply themes to specific pages/sections?

by
Darrel
- 12/03/2014 18:43:12
I am trying to understand the mechanism behind how the website module
has a 'frontend' section which uses a different layout that the
regular admin area.

I thought I might see something in it's main.py controller class but
haven't found anything relevant yet.

For context, my two layout related goals are to a) apply a new layout
to a limited part of the website's frontend, and b) change that layout
depending on the user who is viewing the page (so, load a css file
specific to the user account).

Any tips, or links to documentation would be appreciated. I have gone
through this (http://odoo-80.readthedocs.org/en/latest/guides/themes.html)
but still don't see how to the actual areas covered by different
themes are controlled.

Darrel