[opencms-dev] Updating Control Code on multiple files?

Thomas März thomasmaerz at gmx.de
Fri Oct 24 14:58:01 CEST 2003


> In order to set the template the pages use we change the control code
> to point to the template. Currently, we are doing this individually on
> every page (left click->edit control code, then update the value for the
> <masterTemplate> element). 
>
> Is there a way to apply a new template to a whole set of newly imported
> pages?

Administration -> Database Management -> Export

Export all the files where you want to change the control code, unzip
the exported file, search and replace the part between
<mastertemplate></mastertemplate>, zip the folder and Import it to
OpenCms.

HTH,
Thomas




More information about the opencms-dev mailing list