Hi, Perhaps, you can use the new_templates service within Jahia by copying your new templates set into all your jahia/WEB-INF/var/new_templates/SITE_NAME/TEMPLATE_SET_JAR ; for that, i think you must have this service enabled into your jahia.properties file, like the following:
### Templates Observer ############## jahiaTemplatesAutoDeploy = 1 # Time in milliseconds between checks in the new_templates directory for new # templates to deploy. Set to -1 to deactivate file watching completely. templates.observer.interval = 5000 templates.observer.checkmode = ALL Fabrice Marchon > -----Message d'origine----- > De : HENRY Pierre [mailto:[EMAIL PROTECTED] > Envoyé : mercredi, 27. septembre 2006 17:16 > À : [email protected] > Objet : Update template set > > Hi, > > I would like to know if there is a way of rapidly updating a > template set for all the virtual sites on a server. I updated > the jar in > jahia4.1.1\tomcat\webapps\ROOT\WEB-INF\var\shared_templates\, > it works for the site I create from now on, but didn't change > the templates for the existing sites > (jahia4.1.1\tomcat\webapps\ROOT\jsp\jahia\templates\SITE_NAME\ > TEMPLATE_SET_NAME). We have many virtual sites on the server > (over 100) and it would be fastidious to manually copy the > jar for each site... > > Using Jahia 4.1.1. > > Thanks, > > Pierre Henry > Ingénieur de développement > email: [EMAIL PROTECTED] > tél prof: +41 (0)32 718 20 45 > -------------------------------------------------------------- > -------------- > Université de Neuchâtel > Faculté des sciences > SITEL > Rue Emile-Argand 11 > Case Postale 158 > 2009 Neuchâtel > Tél: +41 (0)32 718 20 00 > Fax: +41 (0)32 718 20 01 >
