Hi

So far I managed to find my way around Magnolia to create an STK based Module 
for a web site. The last thing missing is that I have to update some of the 
"Templating Kit -> Site Configuration -> templates -> prototype" settings in 
order to use my own set of FreeMarker templates (FTL).

What I did was to export the entire "site" configuration into 
"config.modules.standard-templating-kit.config.site.xml" and place it into 
"/mgnl-bootstrap/standard-templating-kit/".

Then I tried this:

        String siteResource = 
"/mgnl-bootstrap/standard-templating-kit/config.modules.standard-templating-kit.config.site.xml";
 

        .addTask( new PartialBootstrapTask( updatePrototypeText, 
updatePrototypeText, siteResource, "/site/templates/prototype" ) )
 
or this:

        BootstrapAndUpdateArrayTask updateSTKSite = new 
BootstrapAndUpdateArrayTask(
            "updateSTKSite",
            "Update STK Site",
            
"/mgnl-bootstrap/standard-templating-kit/config.modules.standard-templating-kit.config."
        );
 
        .addTask( u updateSTKSite.bootstrapSingleResource( "site" ) )

but no luck with either. Both updates run through but there is no change in the 
JCR content.

Is there a way to change the settings for "prototype", add a new entry to 
"availability" and update the theme name?

Thanks - Andy Schaefer


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to