AnsweredAssumed Answered

Define theme on a site preset

Question asked by marcus.svensson on Feb 1, 2013
Latest reply on Feb 1, 2013 by marcus.svensson

I'm looking for a way to define which theme that should be used for individual sites as default. I've got different site presets for the sites I'm using and would like each site preset to have its own theme.

I've tried to find information on how to do this on the wiki / forums and google without success.

What I thought would work was to define for each preset an override of the application default theme like this in my extension configuration but that does not work:

         <id>Public documents site changes</id>

         <!– Base evaluator that decides if any of the customizations, components
            or configurations should be used –>
         <evaluator type="site.module.evaluator">
            <config evaluator="string-compare" condition="WebFramework" replace="true">

Anyone have an idea on how to accomplish this?


Finally I managed to find where to make this configuration.

It was in my preset settings.
<preset id="public">

         <page id="site/${siteid}/dashboard">
            <title>Collaboration site for public documents</title>
            <description>Collaboration site's dashboard page</description>