Hi, I'd like to use Magnolia to serve one web site with 2 themes using magnolia. The themes will consist of different content for the top and right hand bar, but the site structure will be exactly the same, and the content for the main panel will be identical. I need to make use of the caching capability of magnolia, and new pages need to be added to certain sections. I'd like to have just the one site structure within the website view.
What's the best way to do this so that adding new content will be visible on both themes as painlessly as possible ? I'm very comfortable with JSP scripting and writing Java code, but I'd like to avoid doing custom work if need be. My current thinking is to use a scheme similar the I18n support using URL prefixing. So for example, say the two themes are foo and bar, the URLs would be http://somewhere.com/foo/index.html and http://somewhere.com/bar/index.html. I'd write a filter to extract the prefix and place it in the request context so that the page knows which theme to use. This would mean some custom work though. It looks like virtual URIs might be able to help, or maybe even sub-templates ? Any help much appreciated. Thanks, Jon. ---------------------------------------------------------------- for list details see http://documentation.magnolia.info/ ----------------------------------------------------------------
