Jean-Marc Orliaguet wrote:
Narcis Paslaru wrote:
Hi all,

We have a 2 domains nuxeo-based application.
We need to create two different themes and use them for each domain; every domain with it's theme. We have created a second theme, but we don't know how to make the association between domains and themes.
Is this possible programatically or via an extention contribution ?

Thank you,
Narcis Paslaru


Hi,

You can use the local theme option I think ("Themes" tab).

otherwise you'll have to write a negotiation scheme that parses the URL and see what it the path starts with (/default/, ...). There are no references to nuxeo specific objects (such as domains, etc) in nxthemes.

regards
/JM


Thanks for your answer,

I've enabled the theme tab, and choose 2 different themes for each domain.
The problem is with the content of each domain.
It would be great if all children would inherit the parent's theme.
Right now all documents take the default theme, unless modify in theme tab.
Is this possible ?

Thanks again,
Narcis Paslaru
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to